The orphan hunt loses the orphan
LEFT JOIN from staging to the parent, exclusion as a decision · level 6 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 6 of 6
Load the three rows yourself
Same idea as The orphan hunt loses the orphan, new data.
On this copy items has been emptied and foreign keys are on. Fill it from stg_items with one INSERT ... SELECT, in file order: serial trimmed, type_id and daily_rate converted to integers, and the note trimmed with a blank as NULL. Leave out every row with no gear type and every rate that is not whole-number text, and leave the id out.
Data: Trail Gear: build rehearsal. Every run starts from a fresh copy, so nothing you try here is permanent.
Each run starts from a fresh copy of the data, then shows the rows the question is about.
Query results
Run to see the rows the question is about.Run to see the rows the question is about.
Practice here is evidence for you and your instructor, never a grade. Grades live in Canvas.