get some square roots : SQRT « Math « SQL / MySQL






get some square roots

      
mysql>
mysql> SELECT SQRT(144), SQRT(125), ROUND(SQRT(125));
+-----------+------------------+------------------+
| SQRT(144) | SQRT(125)        | ROUND(SQRT(125)) |
+-----------+------------------+------------------+
|        12 | 11.1803398874989 |               11 |
+-----------+------------------+------------------+
1 row in set (0.00 sec)

mysql>
mysql>

   
    
    
    
    
    
  








Related examples in the same category

1.The SQRT() function returns to the square root of a specified number: SQRT()