Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Design an ER - diagram ( a drawing with ovel and sqare and dimond ) for the following:Airport ( Airplane _ ID , Location (

Design an ER-diagram ( a drawing with ovel and sqare and dimond ) for the following:Airport (Airplane_ID , Location (city , country))Flight (Flight_ID ,Destination_code , Time_of_flight )Aircraft (Aircraft_ID , Model )Passenger ( Passenger_ID , Name , Age , Contact_info , passport_number)Booking ( Booking_ID , Flight_Number , Seat_Number , infants (Under 2,free payment ) Child_pricing (2-11), Adult_pricing (12 and above))Payment ( Payment_ID , Price , Payment_Method(credit card ,paypal,etc),Payment_Status(confirmed , cancelled ))The relationships : An AIRPORT has many FLIGHTS.A FLIGHT has many BOOKINGS.A PASSENGER has many BOOKINGS.Each FLIGHT is associated with one AIRPORT.Each BOOKING is associated with one PASSENGER.Each airport is identified by its unique Airplane_ID and location (city, country).A flight has a unique Destination_code.Each flight is identified by its unique Flight_ID and scheduled time.Each aircraft is identified by its unique Aircraft_ID and model.Each passenger is identified by their unique Passenger_ID and personal details.Each booking is identified by its unique Booking_ID and includes flight number, seat number, and age-based pricing.Each payment is identified by its unique Payment_ID and includes price, method, and status.Each booking must have a payment, following pricing rules for infants (free), children (reduced), and adults (standard).

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

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

Recommended Textbook for

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions

Question

3. What are the current trends in computer hardware platforms?

Answered: 1 week ago