Apache Presto - Math Function sqrt(x)


Query

presto:default> select sqrt(3) as squareroot; 

Result

   squareroot 
-------------------- 
 1.7320508075688772 

The square root of 3 is 1.732.

apache_presto_sql_functions.htm
Advertisements