This MySQL function is used to return the Pi value, which is 3.141593, and let us see how to find it. Next, how to use this function as an argument of another function with an example? The basic syntax of the PI is as shown below:
The first statement returns the actual value. In the second MySQL statement, we are adding 10 to the value. Within the third statement, we used this Mathematical method inside COS, SIN, and TAN functions.
SELECT PI() + 10 ;
SELECT COS(PI()), SIN(PI()), TAN(PI());