Skip to content
Justice Tech School

BETWEEN with Dates

BETWEEN is inclusive on both ends. ISO dates sort correctly as text.

Example
SELECT name, joined FROM students
WHERE joined BETWEEN '2026-02-01' AND '2026-03-01';

Result

name    | joined
Amina   | 2026-02-03
Wanjiru | 2026-02-14
Tunde   | 2026-03-01

Exercise

Inclusive range.

WHERE score  70 AND 90

Quiz Test

Is BETWEEN inclusive?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.