Quiz

## Instruction

Good! How about foreign keys? Rings a bell?

## Exercise

A spare part warehouse needs a database to keep information about the spare parts it offers. Based on the ERD below, create the table spare_part. If a vehicle is updated/removed from the table vehicle, the affected rows in the table spare_part should be updated/deleted accordingly.

### Stuck? Here's a hint!

Foreign keys were discussed in Part 6. Do you remember them?