top of page
CerebroSQL

MySQL: 

SQRT

Syntax:
SQRT(X)

Returns the square root of a nonnegative number X.

Example

mysql> SELECT SQRT(4);
-> 2
mysql> SELECT SQRT(20);
-> 4.4721359549996
mysql> SELECT SQRT(-16);
-> NULL

bottom of page