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.
- Display the first name, last name, and package number for all customers whose last name is “King” (Customers table).
- Display all the data from Packages table for packages whose speed is “5Mbps”.
- Display the first name, last name, package number and monthly discount for all customers with monthly discount less than 30 (Customers table).