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

TAN



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

Syntax

TAN( <x> )

Examples

SELECT TAN(90); ┌────────────────────┐ │ tan(90) │ ├────────────────────┤ │ -1.995200412208242 │ └────────────────────┘

Was this page helpful?