Tuesday, 2 August 2016

SQRT: get Square root of a number


mysql> SELECT SQRT(25);
+----------+
| SQRT(25) |
+----------+
|        5 |
+----------+
1 row in set (0.00 sec)

mysql> SELECT SQRT(125);
+--------------------+
| SQRT(125)          |
+--------------------+
| 11.180339887498949 |
+--------------------+
1 row in set (0.00 sec)


Previous                                                 Next                                                 Home

No comments:

Post a Comment