Question

Map this E-R Diagram to a Relational DBMS.
Each table/relation represents one "entity type". The rows represent instances of that type of entity and the columns representing values attributed to that instance.Name Schedded DepTme City S白 DEPARTURE AIRPORT AIRPORT FLIGHT LEG ARRIMAL AIRPORT LAND LEGS NSTANCE Weekdays Max-seats Number Compary FLIGHT AIRPLANE TYPE ARRVES FARES Oode FARE Date №daal seats LEG INSTANCE AIRPLANE ASSIGNED CPhone NOTES (1ALEG (SEGMENT)ISANONSTOP PORTION OFAFLIGHT (2)ALEG INSTANCE ISAPARTICLLAROOCURRENCE RESERMATION OFALEG ON A PARTICULAR DATE SEAT

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Relational Schema:

AIRPORT(Airport_code, Name, City, State);

FLIGHT(Flight_number, Airline, Weekdays);

FLIGHT_LEG(Flight_number, Leg_number, Departure_airport_code, Scheduled_departure_time, Arrival_airport_code, Scheduled_arrival_time);

LEG_INSTANCE(Flight_number, Leg_number, Date, Number_of_available_seats, Airplane_id, Departure_airport_code, Departure_time, Arrival_airport_code, Arrival_time);

FARE(Flight_number, Fare_code, Amount, Restictions);

AIRPLANE_TYPE(Airplace_type_name, Max_seats Company);

CAN_LAND(Airplace_type_name, Airport_code);

AIRPLANE(Airplane_id, Total_number_of_seats, Airplane_type);

SEAT_RESERVATION(Flight_number, Leg_number, Date, Seat_number, Customer_name, Customer_phone);

Note: Underline indicates Primary key of that relation

Here is the link that how we construct ER to Relational schema...

http://users.cms.caltech.edu/~donnie/dbcourse/intro0607/lectures/Lecture17.pdf

Let me know if you have any clarifications. Thank you...

Add a comment
Know the answer?
Add Answer to:
Map this E-R Diagram to a Relational DBMS. Each table/relation represents one "entity type". The rows...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Create relational database schema for E__R Model below CityState Name DEPARTURE AIRPORTN AIRPORT FLIGHT LEG ARRIVAL...

    Create relational database schema for E__R Model below CityState Name DEPARTURE AIRPORTN AIRPORT FLIGHT LEG ARRIVAL AIRPORT LEGS INSTANCE OF Airline FLIGHT AIRPLANE Arr time TYPE DEPARTS1 FARES ARRIVES TYPE FARE of avail seat AIRPLANE ASSIGNED LEG iNSTANCE RESERVATION 1 Notes: A LEG (segment) is a nonstop portion of a flight A LEG INSTANCE is a particular occurrence SEAT of a LEG on a particular date.

  • A test specification provides designers with what needs to be known in order to perform a...

    A test specification provides designers with what needs to be known in order to perform a specific test, and to validate and verify the requirement to be tested. The test script is divided into the test script, which is the generic condition to be tested, and one or more test cases within the test script. Provide a test script and test case for at least 3 of your requirements identified in your requirements specification. Provide the following format for an...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT