Skip to content

PI

SELECT PI();
3.141593

The “PI()” statement in MySQL is a mathematical function that returns the value of PI up to the decimal precision supported by the system, which is approximated to 3.141593. No arguments are needed for this function.