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, 1125🔥, 0💬
Popular Posts:
How To Disable a Login Name in SQL Server? If you want temporarily disable a login name, you can use...
How To Recover a Dropped Index in Oracle? If you have the recycle bin feature turned on, dropped ind...
How To Update Multiple Rows with One UPDATE Statement in SQL Server? If the WHERE clause in an UPDAT...
What Is an Oracle Tablespace in Oracle? An Oracle tablespace is a big unit of logical storage in an ...
How To List All Stored Procedures in the Current Database in SQL Server Transact-SQL? If you want to...