ABS



Returns the absolute value of x.

Syntax

ABS( <x> )

Examples

SELECT ABS(-5); ┌────────────┐ │ abs((- 5)) │ ├────────────┤ │ 5 │ └────────────┘

Was this page helpful?