Filter a value within an inclusive range.
Section: Filtering Rows
Filter with BETWEEN
sql
sql
SELECT *
FROM events
WHERE created_at BETWEEN DATE "2025-01-01" AND DATE "2025-01-31";Explanation
BETWEEN is inclusive on both ends in standard SQL.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Filtering Rows