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, 2019🔥, 0💬
Popular Posts:
How to obtain the version number of the ICU (International Components for Unicode) library using the...
How Run SQL*Plus Commands That Are Stored in a Local File in Oracle? If you have a group of commands...
How To Convert Character Strings into Numeric Values in SQL Server Transact-SQL? Sometimes you need ...
How to format a number of bytes in a human-readable unit using the FORMAT_BYTES() function? FORMAT_B...
How To List All User Names in a Database in SQL Server? If you want to see a list of all user names ...