This page provides exercises and solutions to help you practice SQL WHERE conditions. These exercises are based on the ACDB database, and may be performed online or by running the sample schema scripts on your local database server. For additional exercises in other subjects, use this link.


  1. Display the first name, last name, and package number for all customers whose last name is “King” (Customers table).
  2. Display all the data from Packages table for packages whose speed is “5Mbps”.
  3. Display the first name, last name, package number and monthly discount for all customers with monthly discount less than 30 (Customers table).

Would you like to read more?