Answered step by step
Verified Expert Solution
Question
1 Approved Answer
2 - Use the database shown in Figures 4 & 5 to answer the following questions. ROBCOR is an aircraft charter company that supplies on
Use the database shown in Figures & to answer the following questions.
ROBCOR is an aircraft charter company that supplies ondemand charter flight services using a
fleet of four aircraft. Aircrafts are identified by a unique registration number. Therefore, the aircraft
registration number is an appropriate primary key for the AIRCRAFT table.
Table name: CHARTER
Database name: ChAviaCo
The destinations are indicated by standard threeletter airport codes. For example,
STL St Louis, MO
ATL Atlanta, GA
BNA Nashville,
Table name: AIRCRAFT
TAF Aircraft total time, airframe
TEL Total time, left engine
TER Total time, right engine
In a fully developed database system, such attribute values would be updated
by application software when the CHARTER table entries are posted.
Table name: MODEL
Customers are charged per roundtrip mile, using the MODCHGMILE rate. The MODSEATS gives the total number of seats in the
airplane, including the pilot and copilot seats. Therefore, a PA trip that is flown by a pilot and a copilot has eight passenger seats
available. a For each table, identify the primary key and foreign keys when possible.
b Identify all the relationships between the tables.
You want to see data on charters flown by either Robert Williams employee number or John
Lange employee number as pilot or copilot, but not charters flown by both of them. Complete
Problems c to e to find this information.
c Create the table that would result from applying the SELECT and PROJECT relational
operators to the CHARTER table to return only the CHARTRIP, CHARPILOT, and
CHARCOPILOT attributes for charters flown by either employee or employee
as pilot or copilot.
d Create the table that would result from applying the SELECT and PROJECT relational
operators to the CHARTER table to return only the CHARTRIP, CHARPILOT, and
CHARCOPILOT attributes for charters flown by both employee and employee
e Create the table that would result from applying a DIFFERENCE relational operator of
your result from Problem c to your result from Problem d
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