For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
index

GREATEST() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Returns the greatest value from a list of expressions

Syntax​

GREATEST(expression1, expression2 ...)

Parameters​

ParameterDescriptionData TypeRequired
expressionsTwo or more values.NumericYes

Example​

SELECT
GREATEST(col)
FROM
rippling.employee.Employee
LIMIT
5;