POW(X,Y), POWER(X,Y) returns the value of X raised to the power of Y. : POW « Math Numeric Functions « MySQL Tutorial






mysql>
mysql> SELECT POW(2,2);
+----------+
| POW(2,2) |
+----------+
|        4 |
+----------+
1 row in set (0.02 sec)

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

mysql>








21.28.POW
21.28.1.POW(X,Y), POWER(X,Y) returns the value of X raised to the power of Y.