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

MEDIAN() Function

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Return the value separating the higher half from the lower half of a set of values

Syntax​

MEDIAN(expression)

Parameters​

ParameterDescriptionData TypeRequired
expressionColumn or expression to evaluateNumericYes

Example​

SELECT
MEDIAN(salary)
FROM
rippling.employee.Employee
GROUP BY
department;