The orphan hunt loses the orphan
LEFT JOIN from staging to the parent, exclusion as a decision · level 5 of 6
Opening your saved work…
Sign in to save across devices → · Download your guest work before switching accounts.
The orphan hunt loses the orphan · LEFT JOIN from staging to the parent, exclusion as a decision · level 5 of 6
The orphan hunt loses the orphan
The orphan check came back empty, so the load went ahead, and the foreign key refused the whole insert.
This query is meant to return serial and type_id for the staged rows with no gear_types parent, in file order. It runs and returns nothing. Repair it, compare the result with the audit's decision, and say what the original was really asking.
Finish line: 1 row · columns serial, type_id · in the order the question gives
Data: Trail Gear: build rehearsal.
Query results
Run your query to see the result here.Run your query to see the result here.
Practice here is evidence for you and your instructor, never a grade. Grades live in Canvas.