Power operator : Power « Math Functions « PostgreSQL






Power operator


postgres=# SELECT 2 ^ 3 AS "exp";
 exp
-----
   8
(1 row)

postgres=#
           
       








Related examples in the same category

1.power(a dp, b dp) a raised to the power of b
2.power(a numeric, b numeric) numeric a raised to the power of b
3.CAST(2 AS double precision) ^ CAST(3 AS double precision)