Question: Question 1: For each table, where possible, identify: The primary key A superkey A candidate key The foreign key(s) A secondary key(s) Question 2: Create
Question 1: For each table, where possible, identify:
The primary key A superkey A candidate key The foreign key(s) A secondary key(s)
Question 2: Create the ERD. (Hint: Look at the table contents. You will discover that an AIRCRAFT can fly many CHARTER trips but that each CHARTER trip is flown by one AIRCRAFT. Similarly, you will discover that a MODEL references many AIRCRAFT but that each AIRCRAFT references a single MODEL, etc.)
Question 3: Create the relational diagram.
Question 4: Modify the ERD you created in Question 2 to eliminate the problems created by the use of synonyms. (Hint: Modify the CHARTER table structure by eliminating the CHAR_PILOT and CHAR_COPILOT attributes; then create a composite table named CREW to link the CHARTER and EMPLOYEE tables. Some crewmembers, such as flight attendants, may not be pilots. That's why the EMPLOYEE table enters into this relationship.)
Question 5: Create the table that would result from applying the SELECT and PROJECT relational operators to the CHARTER table to return only the CHAR_TRIP, CHAR_PILOT, and CHAR COPILOT attributes for charters flown by either employee 105 or employee 109.
Question 6: Create the table that would result from applying the SELECT and PROJECT relational operators to the CHARTER table to return only the CHAR_TRIP, CHAR PILOT, and CHAR_COPILOT attributes for charters flown by both employee 105 and employee 109.
Question 7: Create the table that would result from applying a DIFFERENCE relational operator of your result from question 5 to your result from question 6.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
