bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL POWER() Function

Example

SELECT POWER(4, 2);

Definition and Usage

The POWER() function returns the value of a number raised to the power of another number.

Note

This function is equal to the POW() function.

Syntax

POWER(
x, y
)

Parameter Values

ParameterDescription
xRequired. A number (the base)
yRequired. A number (the exponent)

Technical Details

Works in:From MySQL 4.0

Previous

MySQL POW() Function

Next

MySQL RADIANS() Function