SQL Tutorial

SQL PI Function

SQL PI() function maybe the most simplest mathematical SQL function because it returns a constant value of pi. Here is the syntax:

PI()

The query is simple as follows:

SELECT PI() pi

We get the output of constant pi value:

  
    pi  
--------
3.141593
Read On