Practice Exercises For SELECT Statement
Practice Exercises For SELECT Statement
If you want to test your skills using the SQL SELECT statement, try some of our practice
exercises.
These practice exercises allow you to test your skills with the SELECT statement. You will be
given questions that you need to solve. After each exercise, we provide the solution so you can
check your answer.
Get started!
Return to Tutorial
SELECT *
FROM employees
WHERE salary <= 52500;
employee_numbe first_nam
last_name salary dept_id
r e
city
Westlake Village
Redwood City
Mountain View
customer_i
last_name order_date
d
Or alternatively you could exclude the ASC keyword for customer_name in the ORDER BY clause.
Both of these SELECT statements would generate the same results:
Try It
customer_i
last_name
d
8000 Anderson
4000 Jackson
7000 Reynolds
5000 Smith