In this exercise you will make a database from the backup-file(carsdb.sql) and then create the model based on the database.
Restore the database
- Download the file carsdb.sql
- In MySQL Workbench: Server->Data Import
- Check the option "Import from Self-Contained File
- Click the ellipses-button (...) and choose the file carsdb.sql
- Click Start Import
- Refresh the Schemas View and check that you have the database with tables: car,carownner, owner
Create the Model
- Follow the instructions from previous exercise. Note that the model name should be carsdb.
- Create the ER-Diagram. The diagram should look like this