Skip to main content

Numeric functions

ABS

Returns the absolute value.

CEIL / CEILING

Rounds up to the nearest integer.

FLOOR

Rounds down to the nearest integer.

ROUND

Rounds to a specified number of decimal places.

POWER / POW

Raises a number to a power.

SQRT

Returns the square root.

LN

Returns the natural logarithm.

LOG10

Returns the base-10 logarithm.

EXP

Returns e raised to a power.

MOD

Returns the remainder after division.

GREATEST

Returns the largest value from a list.

LEAST

Returns the smallest value from a list.

Aggregate Functions

GROUP BY computations

Date & Time Functions

Temporal operations

All Functions

Browse all function categories

Data Types

LONG, DOUBLE, and DECIMAL type reference