Loading lesson path
operator is used in the WHERE clause to select values within a specified range.
Select all products with a price between 10 and 20:
SELECT * FROM Products
WHERE Price BETWEEN 10 AND 20;column_name(s)
table_name
column_name
value1
value2;Products table used in the examples:
10 boxes x 20 bags 18.00
Formula
24 - 12 oz bottles19.00
Formula
12 - 550 ml bottles10.00
Formula
48 - 6 oz jars22.00
36 boxes 21.35