Answered step by step
Verified Expert Solution
Link Copied!

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

2- Use the database shown in Figures 4&5 to answer the following questions.
ROBCOR is an aircraft charter company that supplies on-demand 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: Ch03_AviaCo
The destinations are indicated by standard three-letter airport codes. For example,
STL = St. Louis, MO
ATL = Atlanta, GA
BNA = Nashville, TN
Table name: AIRCRAFT
ACTTAF = Aircraft total time, airframe (hours)
ACTTEL = Total time, left engine (hours)
ACTTER = Total time, right engine (hours)
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 MOD_CHG_MILE rate. The MOD_SEATS gives the total number of seats in the
airplane, including the pilot and copilot seats. Therefore, a PA31-350 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 key(s) when possible.
b) Identify all the relationships between the tables.
You want to see data on charters flown by either Robert Williams (employee number105) or John
Lange (employee number 104) as pilot or copilot, but not charters flown by both of them. Complete
Problems 2-c to 2-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 CHAR_TRIP, CHAR_PILOT, and
CHAR_COPILOT attributes for charters flown by either employee 105 or employee 104
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 CHAR_TRIP, CHAR_PILOT, and
CHAR_COPILOT attributes for charters flown by both employee 105 and employee 104.
e) Create the table that would result from applying a DIFFERENCE relational operator of
your result from Problem 2-c to your result from Problem 2-d.
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions