Syntax
SQRT(X)
Purpose
SQRT() returns the square root of X.
Examples
obclient> SELECT SQRT(4);
+---------+
| SQRT(4) |
+---------+
| 2 |
+---------+
1 row in set
obclient> SELECT SQRT(5);
+------------------+
| SQRT(5) |
+------------------+
| 2.23606797749979 |
+------------------+
1 row in set
obclient> SELECT SQRT(-16);
+-----------+
| SQRT(-16) |
+-----------+
| NULL |
+-----------+
1 row in set