Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Consider the attributes of the previous question FlightN, FromCity, ToCity, FlightDate, DepartureTime, ArrivalTime, TicketN, TicketDate, PassengerName, Cost, Completed, PassengerAddress, Passenger Age. Based on the following

Consider the attributes of the previous question
FlightN, FromCity, ToCity, FlightDate, DepartureTime, ArrivalTime, TicketN, TicketDate, PassengerName, Cost, Completed, PassengerAddress,
Passenger Age.
Based on the following assumptions:
FlightN is the the key for the FromCity, ToCity, FlightDate, DepartureTime, and ArrivalTime;
Every ticket belongs to only one passenger;
Every passenger may purchase more than one ticket;
Every Ticket may include more than one flight;
Every flight of a ticket together determines the Cost and the attribute
Attribute 'Completed' indicates whether the flight has been completed ( i.e. the passenger has was on the flight).
Write all possible dependencies and find a key for all above attributes.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions