Syntax
PI()
Purpose
PI() returns the value of the constant π, which is the ratio of a circle's circumference to its diameter.
Examples
obclient> SELECT PI();
+----------+
| PI() |
+----------+
| 3.141593 |
+----------+
1 row in set
obclient> SELECT ROUND(2*PI(),2);
+----------------+
| ROUND(2*PI(),2)|
+----------------+
| 6.28 |
+----------------+
1 row in set