Returns the value of constant π, where π=3.14159.
PI() takes the following syntax.
SELECT PI() as ALIAS
FROM DATASET;
Example
SELECT PI() as piValue
FROM "Opportunity"
LIMIT 1;
| piValue |
|---|
| 3.14159 |
Returns the value of constant π, where π=3.14159.
PI() takes the following syntax.
SELECT PI() as ALIAS
FROM DATASET;
SELECT PI() as piValue
FROM "Opportunity"
LIMIT 1;
| piValue |
|---|
| 3.14159 |