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, 1018🔥, 0💬
Popular Posts:
What Is Oracle in Oracle? Oracle is a company. Oracle is also a database server, which manages data ...
How To Convert Character Strings into Numeric Values in SQL Server Transact-SQL? Sometimes you need ...
How To Replace Given Values with NULL using NULLIF() in SQL Server Transact-SQL? Sometime you want t...
How To Connect the Oracle Server as SYSDBA in Oracle? This is Step 4. The best way to connect to the...
How To Present a Past Time in Hours, Minutes and Seconds in MySQL? If you want show an article was p...