All pages
Powered by GitBook
1 of 1

Loading...

POW

Synonym for POWER(). Returns the value of a number raised to the power of another number.

Syntax

POW(X,Y)

Description

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

POWER() is a synonym.

Examples

This page is licensed: GPLv2, originally from

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

SELECT POW(2,-2);
+-----------+
| POW(2,-2) |
+-----------+
|      0.25 |
+-----------+
fill_help_tables.sql