Question: store(st_code QUESTION 1 1. Consider the following tables STORE(ST CODE, ST_NAME, ST MANAGER, ST_LOCATION EMPLOYEE(EMP NUMBER, EMP_LNAME, EMP FNAME, EMP_TITLE, ST CODE) For the tables

store(st_code
 store(st_code QUESTION 1 1. Consider the following tables STORE(ST CODE, ST_NAME,

QUESTION 1 1. Consider the following tables STORE(ST CODE, ST_NAME, ST MANAGER, ST_LOCATION EMPLOYEE(EMP NUMBER, EMP_LNAME, EMP FNAME, EMP_TITLE, ST CODE) For the tables given above, work on the problems below: 1. For each table, identify the primary key 2. For each table, identify the foreign key(s). 3. 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. 4. For one of the tables, give examples of a superkey and a secondary key 5. For the given tables, explain how entity integrity and referential integrity could be violated. Give specific examples. 6. Use Visio to create a detailed Crow's Foot ERDThe diagram must include all entities, attributes, and relationships. Primary keys and foreign keys must be clearly identified on the diagram. QUESTION 2 1. Consider the following tables PRODUCTPR CODE, PR DESCRIPTION, PR TYPE, PR_PRICE) PARTPART NUMBER, PART_NAME, PART_PRICE, PR_CODE) For the tables given above, work on the problems below: 1. For each table, identify the primary key. 2. For cach table, identify the foreign key(s). 3. 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. 4. For one of the tables, give examples of a supsckex and a secondary key 5. For the given tables, explain how entity integrity and referential integrity coul be violated. Give specific examples. 6. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!