14
9 An airline company uses a relational database to store data about passengers and flights.
Part of the database is shown.
PASSENGER(PassengerID, FirstName, LastName)
FLIGHT(FlightID, FlightDate, FlightTime)
PASSENGER_LIST(FlightID, PassengerID, SeatNo)
(a) Complete the entity-relationship (E-R) diagram to show the relationships between the given
tables.
PASSENGER FLIGHT
PASSENGER_LIST
[2]
(b) The following is example data for the table FLIGHT:
FlightID FlightDate FlightTime
MO126 05/05/21 09:00
GK6708 06/09/21 00:30
BA0897 08/12/21 15:30
Write Data Definition Language (DDL) statements to define the table FLIGHT.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [5]
© UCLES 2021 9608/11/O/N/21