Skip to Content
SQL Intermediate: Queries That Survive Real Data
Intermediate
0 likes
Courses
SQL Intermediate: Queries That Survive Real Data

Check Yourself: Joins Beyond the Basics

Five scenario questions on fan-out, pre-aggregation, EXISTS and NOT IN with NULL. If you miss more than one, reread the lessons in this section.

Course content

Sign in to save your progress.

Course Home
1. A report joins customers, orders and order_items, then adds up a shipping fee that is stored on each order. The shipping total is too high, while the item totals are right. What happened?
4. A query lists customers whose city is NOT IN a subquery that returns cities. It returns no rows, although you know some customers qualify. One customer in the subquery has no city. What is the cause?
5. Ben bought a backpack in two separate orders. You want each customer who bought from the bags category listed once. Which form says that directly?

About

Five scenario questions on fan-out, pre-aggregation, EXISTS and NOT IN with NULL. If you miss more than one, reread the lessons in this section.

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

Comments (0)

Sign in to comment

No comments yet.