Try this problem in the playground
The sample tables will be auto-loaded — write a query and run it instantly.
Given order IDs 1, 2, 3, 5, 6, 8, 9 — identify the missing IDs (4 and 7). Useful for finding deleted records or audit gaps.
The playground will create these tables and populate them automatically when you click "Open Playground" above:
Multiple approaches — try each and understand the trade-offs.