POWER (or POW)
Returns a DOUBLE PRECISION value representing one number raised to the power of another number. You can use either POWER or POW as the function name.
Behavior Type
Syntax
POWER ( expression1, expression2 )
Parameters
expression1 |
Is an expression of type DOUBLE PRECISION that represents the base |
expression2 |
Is an expression of type DOUBLE PRECISION that represents the exponent |
Example
SELECT POWER(9.0, 3.0); power ------- 729 (1 row)