bugl
bugl
HomeLearnPatternsPathsSearchPremium
HomeLearnPatternsPaths

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL POW() Function

Example

SELECT POW(4, 2);

Definition and Usage

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

Note

This function is equal to the POWER() function.

Syntax

POW(
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 PI() Function

Next

MySQL POWER() Function