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

ACOS



Returns the arc cosine of x, that is, the value whose cosine is x. Returns NULL if x is not in the range -1 to 1.

Syntax

ACOS( <x> )

Examples

SELECT ACOS(1); ┌─────────┐ │ acos(1) │ ├─────────┤ │ 0 │ └─────────┘

Was this page helpful?