Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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
image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Illuminated

Authors: Catherine M. Ricardo, Susan D. Urban, Karen C. Davis

4th Edition

1284231585, 978-1284231588

More Books

Students also viewed these Databases questions

Question

What did they do? What did they say?

Answered: 1 week ago

Question

2. Do you find change a. invigorating? b. stressful? _______

Answered: 1 week ago