The SQRT
function returns the square root of the specified number.
The input is of type float or a value that can be converted to a float.
This example returns the square root of 16.
SELECT SQRT(16) AS 'SQRT 16'
SQRT 16 |
---|
4 |
Syntax of the SQRT function.
SQRT(value)
value
-- a number or column name.