CAST(2 AS double precision) ^ CAST(3 AS double precision) : Power « Math Functions « PostgreSQL






CAST(2 AS double precision) ^ CAST(3 AS double precision)

postgres=# SELECT CAST(2 AS double precision) ^ CAST(3 AS double precision) 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.Power operator