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

COT



Returns the cotangent of x, where x is given in radians.

Syntax

COT( <x> )

Examples

SELECT COT(12); ┌─────────────────────┐ │ cot(12) │ ├─────────────────────┤ │ -1.5726734063976895 │ └─────────────────────┘

Was this page helpful?