Question
Consider the following tables: TEAM( TEAM_CODE , TEAM_NAME, TEAM_RANK) PLAYER( PL_ID , PL_LNAME, PL_FNAME, PL_POSITION, TEAM_CODE) For the tables given above, work on the problems
Consider the following tables:
TEAM(TEAM_CODE, TEAM_NAME, TEAM_RANK)
PLAYER(PL_ID, PL_LNAME, PL_FNAME, PL_POSITION, TEAM_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 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started