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

UNION Keyword

Use with AI:Rippling AI ChatGPT Claude Cursor

Description​

Combines result sets of two or more SELECT statements, removing duplicates

Syntax​

table1 UNION table2

Example​

SELECT
e.full_name
FROM
rippling.employee.Employee e
WHERE
e.start_date < DATE(2024, 01, 01)

UNION

SELECT
e.full_name
FROM
rippling.employee.Employee e
WHERE
e.start_date > DATE(2025, 01, 01);