1. SQL basics: ask a table a question
1.6 Chapter 1 test
Highlights & notes
Select lesson text to highlight it, or tap Add note.
Bookmarks
Bookmark a lesson to see it here.
Six questions on SELECT, WHERE, ORDER BY and LIMIT: two Easy, two Medium and two Hard.
Question 1 · Easy
Which query shows only the name column of customers?
Question 2 · Easy
How do you write the text value Delhi in a condition?
Question 3 · Medium
How many customers match WHERE city = 'Noida'?
Question 4 · Medium
Which query returns the single most expensive order?
Question 5 · Hard
How many orders match WHERE status = 'pending' AND amount > 1000?
Question 6 · Hard
In which order does the database run these parts?
Key takeaways
Review any question you missed, then move on to the next chapter.
Save your progress
Start free and your progress, code and notes stay saved. Free for 1 month, no card needed.
Start free Log in