📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

DEGREES



Returns the argument x, converted from radians to degrees, where x is given in radians.

Syntax

DEGREES( <x> )

Examples

SELECT DEGREES(PI()); ┌───────────────┐ │ degrees(pi()) │ ├───────────────┤ │ 180 │ └───────────────┘

Was this page helpful?