Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Figure 2.1 missing employee_id field in zoo table #12

Open
weinberg opened this issue Mar 27, 2015 · 0 comments
Open

Figure 2.1 missing employee_id field in zoo table #12

weinberg opened this issue Mar 27, 2015 · 0 comments

Comments

@weinberg
Copy link

The relationship between zoos and employees is missing from the tables in Figure 2.1. The line (and the descriptive text) says that a zoo has 0 or more employees and an employee has 0 or more zoos but there is no foreign key in either zoo or employee table.

Seems like you need +employee_id in the zoo table or +zoo_id in the employee table (or both?).

Actually, I just realized you are using this notation to represent a join table. Sorry - this can be ignored. Thanks for the good read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant