Question: Consider the following tables: PROJECT(PROJ CODE, PROJ_NAME, PROJ_DESCRIPTION) EMPLOYEE(EMP CODE, EMP_LNAME, EMP_FNAME, EMP TITLE, PROJ_CODE) For the tables given above, work on the problems below:

Consider the following tables: PROJECT(PROJ CODE, PROJ_NAME, PROJ_DESCRIPTION) EMPLOYEE(EMP CODE, EMP_LNAME, EMP_FNAME, EMP TITLE, PROJ_CODE) For the tables given above, work on the problems below: For each table, identify the primary key. For each table, identify the foreign key(s). Identify at least one candidate key. If there are no candidate keys, give an example of an attribute that could be used as a candidate key. For one of the tables, give examples of a superkey and a secondary key. For the given tables, explain how entity integrity and referential integrity could be violated. Give specific examples. Use Visio to create a detailed Crow's Foot ERD. The diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
