Map this E-R Diagram to a Relational DBMS. Each table/relation represents one \"
ID: 3754866 • Letter: M
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.
Explanation / Answer
If you have any doubts, please give me comment...
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