Skip to main content

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
└─────────────────────────────────┘
Did this page help you?
Yes
No
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today