Filter rows
An SQL exercise from Querydrill. Solve it with a SQL editor in your browser, checked on the rows it returns and again on changed data, and it is checked the moment you submit.
The task
Return the name and salary of employees who earn more than 90,000.
What this exercise teaches
WHERE keeps only the rows that satisfy the condition.
A hint if you get stuck
WHERE goes after FROM and holds the condition.
Try it now, no account needed
This exercise is free. Open it on the practice page, solve it, and get instant feedback with a hint and a worked solution after two tries.
Open this exercise