Unmatched Records: Orders Without Customers
Medium
joins
Stripe
Airbnb
Uber
Some orders reference customer IDs that no longer exist in the customers table (orphaned records). Find all such orders.
Expected Output
| order_id | customer_id |
|---|---|
| 5 | 99 |
| 6 | 100 |
Tables
Hints (3 available)
SQL Editor
Output
Click "Run" to see results...