POW



Returns the value of x to the power of y.

Syntax

POW( <x, y> )

Aliases

Examples

SELECT POW(-2, 2), POWER(-2, 2); ┌─────────────────────────────────┐ │ pow((- 2), 2) │ power((- 2), 2) │ ├───────────────┼─────────────────┤ │ 4 │ 4 │ └─────────────────────────────────┘

Was this page helpful?