Each row of the table Department describes a department. Deptno is the primary key. Deptmgr (Department manager) refers to Empno in table Employee.
Each row of the table Project describes a project. The primary key is Projno. Projmgr (project manager. refers to Empno in the table Employee.
The table Projstaff indicates the staff assigned to various Projects.
The combination of columns Prstno, Prstempno is a candidate key. There could be other candidate
keys. Prstempno is the Empno in table Employee of the employee working on project number Prstno, which refers to Projno in the table Project. The meaning of Prstasgtno is left undefined.
-If the combination Prstno,Prstempno is chosen as the primary key for table Projstaff,setting Prstno to null in some row would be:
A) A violation of the entity integrity rule
B) A violation of the referential integrity rule
C) A violation of the entity integrity rule and of the referential integrity rule
D) None of the above
Correct Answer:
Verified