ID EN
Mathematical Functions

POW(X,Y)

MySQL 8.4

Returns the value of X raised to the power of Y. Returns NULL if X or Y is NULL.

Syntax

MYSQL
SELECT POW(2,2);
4
SELECT POW(2,-2);
0.25

Examples

Example
MYSQL
SELECT POW(2,2);
4
SELECT POW(2,-2);
0.25