between in sql WITH DATE code example Example: sql between SELECT column_name(s) FROM table_name WHERE column_name BETWEEN value1 AND value2;