← SQL Operations CasesMy saved work →
Independent practice · SQLite
Find unmatched refunds
Your work
Active 0:00 · Paused 0sShow 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.