Live SQLite 3.54 Sandbox
SQL IN & BETWEEN (with live sandbox)
IN matches any value in a list (like Excel filter checkboxes) and BETWEEN checks inclusive numeric or date ranges.
Syntax
SELECT * FROM orders WHERE category IN ('Coffee', 'Tea') AND amount BETWEEN 5 AND 20;Find full_name and city for customers in 'Austin' or 'Denver' using IN.
SQLite 3.50 SandboxCtrl/Cmd + Enter to Run (unlimited & ungraded)
Free 1-Page Excel, Google Sheets & SQL Interview Cheat Sheet
The 25 formulas, keyboard shortcuts, and SQL patterns tested most in analyst interviews — emailed instantly, zero spam.