← SQL Operations Cases

Independent practice · SQLite

Find unmatched refunds

My saved work →

Your work

Active 0:00 · Paused 0s

Show the reference answer
SELECT r.return_id,r.order_id FROM returns r LEFT JOIN orders o ON r.order_id=o.order_id WHERE o.order_id IS NULL

Return 4 points to missing order 99.