这个函数只是简单地返回圆周率的值。MySQL的内部存储双精度圆周率值。
mysql>SELECT PI(); +---------------------------------------------------------+ | PI() | +---------------------------------------------------------+ | 3.141593 | +---------------------------------------------------------+ 1 row in set (0.00 sec)