📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

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) │ ├───────────────┼─────────────────┤ │ 44 │ └─────────────────────────────────┘

Was this page helpful?