In this PostgreSQL post explains how to use the PostgreSQL power function with syntax and examples.
The PostgreSQL power function returns m raised to the nth power.
The syntax for the power function in PostgreSQL is:
The base to use in the power function.
The exponent to use in the power function.
The power function can be used in the following versions of PostgreSQL:
Let's look at some PostgreSQL power function examples and explore how to use the power function in PostgreSQL.
For example: