Apache Presto - Math Function power(x,p)


Query

presto:default> select power(2,3) as power;

Result

 power 
------- 
  8.0

Here, the output return type is double.

apache_presto_sql_functions.htm
Advertisements