Топ-100
 

SQRT

База данных: MySQL
Текст

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

Пример

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