Question: Question: a) Draw an ER model based on following scenario. A travel agency has different bus stations at different location. Each station has a unique
Question: a) Draw an ER model based on following scenario. A travel agency has different bus stations at different location. Each station has a unique name, location and buses. Each bus has a unique bus number, color and type. The bus takes routes between stations. Each route has a name, arrival time and departure time. A single bus can take routes to different stations. Some buses may not take any route in some days however a station must have a route each day. Each bus contains seats. Each seat has unique number, row and seat type. There are three different types of seats as first class, standard and economy. Passengers can make reservations. Passenger has id number, full name, age, gender and address. Each reservation will have a unique reservation number, fare, date and time. Each reservation can have any numbers of seats. The reservation is dependent on passenger
b) Map the entities, attributes and relationships of ER model that you have designed in question no 1 into tables and fields of relational model.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
