Топ-100
 

SQRT

RDBMS Type: MySQL
Topic

Syntax:
SQRT(X)

Returns the square root of a nonnegative number X.

URL: https://dev.mysql.com/doc/refman/8.0/en/mathematical-functions.html

Example

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