POW

Syntax

POW(X,Y)

Description

Returns the value of X raised to the power of Y.

POWER() is a synonym.

Examples

SELECT POW(2,3); +----------+ | POW(2,3) | +----------+ | 8 | +----------+  SELECT POW(2,-2); +-----------+ | POW(2,-2) | +-----------+ | 0.25 | +-----------+

This page is licensed: GPLv2, originally from fill_help_tables.sql

Last updated

Was this helpful?