Question: Consider the following tables: REGION( REG_CODE , REG_DESCRIPTION, REG_LOCATION) STORE( ST_CODE , ST_NAME, ST_MANAGER, REG_CODE) For the tables given above, work on the problems below:
- Consider the following tables:
REGION(REG_CODE, REG_DESCRIPTION, REG_LOCATION)
STORE(ST_CODE, ST_NAME, ST_MANAGER, REG_CODE)
For the tables given above, work on the problems below:
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 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
