Tuesday, 2 August 2016

POW(x, y): Return x to the power y


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

mysql> SELECT POW(5, 3);
+-----------+
| POW(5, 3) |
+-----------+
|       125 |
+-----------+
1 row in set (0.00 sec)

Previous                                                 Next                                                 Home

No comments:

Post a Comment