Skip to main content
Version: current [25.0.x]

PI

Categories: Math

PI

Returns the value of pi, which is approximately 3.14592654.

Syntax

PI() → double

Examples

PI example
SELECT PI()
-- 3.141592653589793