Skip to Content
SQL for Beginners: Ask Your Data Straight Questions
Beginner
0 likes
Courses
SQL for Beginners: Ask Your Data Straight Questions

Check Yourself: Asking for Rows

Five scenario questions on AND and OR, aliases, quotes and NULL. If you miss more than one, reread the lessons in this section.

Course content

Sign in to save your progress.

Course Home
4. You know two customers have no city, but WHERE city = NULL returns no rows and no error. What should the condition be?
5. Three customers live in Manila and two have no city. WHERE city <> 'Manila' returns only the customers with another city. Why are the two with no city missing?

About

Five scenario questions on AND and OR, aliases, quotes and NULL. If you miss more than one, reread the lessons in this section.

Duration
5 min
Last update
09/29/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.