Question
Consider the AIRLINE relational database which describes a database for airline flight information. Each FLIGHT is identified by a flight NUMBER, and consists of one
Consider the AIRLINE relational database which describes a database for airline flight information. Each FLIGHT is identified by a flight NUMBER, and consists of one or more FLIGHT_LEGS with LEG_NUMBERS 1, 2, 3, and so on. Each leg has scheduled arrival and departure times and airports and has many LEG_INSTANCES-one for each DATE on which the flight travels. FARES are kept for each flight and PASSENGERS can book flights to any AIRPORT in the world. For each leg instance, SEAT_RESERVATIONS are kept, as are the AIRPLANE used on the leg and the actual arrival and departure times and airports. An AIRPLANE is identified by an AIRPLANE_ID and is of a particular AIRPLANE_TYPE. CAN_LAND relates AIRPLANE_TYPES to the AIRPORTS in which they can land. An AIRPORT is identified by an AIRPORT_CODE. Consider an update for the AIRLINE database to enter a reservation on a particular flight or flight leg on a given date.
Given the operations and the conceptual EER model above;
- Design the Enhanced Entity Relationship Diagram for the narrative above.
- Write appropriate SQL DDL statements to define at least five tables for the AIRLINE database.
- Write the appropriate SQL statement to add the field Date_of_Birth to the customer table.
- Write the appropriate SQL statement to report on all tables so far created.
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