sql number within range code example Example: sql between SELECT column_name(s) FROM table_name WHERE column_name BETWEEN value1 AND value2;