Skip to main content
Version: V1.0.0

POWER

Syntax

POWER(X,Y)

Description

Returns the value of X raised to the power of Y. This function is an alias of POW().

If either X or Y is NULL, the return value is NULL.

Examples

SELECT POWER(2,8);
+------------+
| POWER(2,8) |
+------------+
| 256 |
+------------+
1 row in set (0.001 sec)