Collections:
SQRT() - Square Root of X
How to calculate the square root of a given number using the SQRT() function?
✍: FYIcenter.com
SQRT(X) is a MySQL built-in function that
calculates the square root of a given number.
For example:
SELECT SQRT(2), SQRT(4), SQRT(8); -- +--------------------+---------+--------------------+ -- | SQRT(2) | SQRT(4) | SQRT(8) | -- +--------------------+---------+--------------------+ -- | 1.4142135623730951 | 2 | 2.8284271247461903 | -- +--------------------+---------+--------------------+
Reference information of the SQRT() function:
SQRT(X): val Returns the square root of a nonnegative number X. Arguments, return value and availability: X: Required. The input number. val: Return value. The square root of X. Available since MySQL 4.0.
⇒ TAN() - Tangent Trigonometric Value
⇐ SIN() - Sine Trigonometric Value
2023-11-14, 1395🔥, 0💬
Popular Posts:
Collections: Interview Questions MySQL Tutorials MySQL Functions Oracle Tutorials SQL Server Tutoria...
How to download and install Microsoft SQL Server Management Studio Express in SQL Server? Microsoft ...
How To Enter Unicode Character String Literals in SQL Server Transact-SQL? Unicode characters are mu...
What is test testing area for? The testing area is provided to allow visitors to post testing commen...
How To Calculate DATETIME Value Differences Using the DATEDIFF() Function in SQL Server Transact-SQL...