Relational Database Design and Modeling for Software Engineers
Vote

0% completed

​

Solution to Exercise 1

Here is the table again, so you can check your working against it.

Employee_IDEmployee_NameProject_IDProject_NameProject_Manager
101AnitaP1AlphaRohit
101AnitaP2BetaSarita
102BalaP1AlphaRohit
103ChandraP3GammaAnita

Step 1. The primary key

Employee_ID alone does not work. Employee 101 appears on two rows.

Project_ID alone does not work either. Project P1 appears on two rows.

Together they do. The pairs are (101, P1), (101, P2), (102, P1) and (103, P3), and no pair repeats.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content