MySQL POWER() Function

The power() is a Math function of MySQL. This function is used to get the power of the given values.

Syntax

Parameter:

m: It is base value in the calculation

n: It is exponent value in the calculation

Returns

This function returns m raised to the nth power.

Example 1

Output:


MySQL Math POWER() Function

Example 2

Output:


MySQL Math POWER() Function
Next TopicMySQL Math




Latest Courses