SQRT
Returns the square root of a nonnegative number x.
Syntax
SQRT(x)
Arguments
Arguments | Description |
---|---|
x | The nonnegative numerical value. |
Return Type
A Float64 data type value.
Examples
SELECT SQRT(4);
+---------+
| SQRT(4) |
+---------+
| 2 |
+---------+
SELECT SQRT(-16);
+-----------+
| SQRT(-16) |
+-----------+
| NaN |
+-----------+