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

BETWEEN Keyword

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Selects values within a given range

Syntax​

expression BETWEEN low_value AND high_value

Parameters​

ParameterDescriptionData TypeRequired
valueInput valueAnyYes
lowLower bound of the range (inclusive)AnyYes
highUpper bound of the range (inclusive)AnyYes

Notes​

  • Returns TRUE if expression >= low_value AND expression <= high_value
  • Returns NULL if any operand is NULL

Example​

SELECT
id
FROM
rippling.employee.Employee
WHERE
salary BETWEEN 50000 AND 100000;