Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that you are to design a database for Railway system database. Your first take is to organize the information about all the trains that

image text in transcribed
Assume that you are to design a database for Railway system database. Your first take is to organize the information about all the trains that are stationed and maintained at the station. The relevant information is as follow: 1- Every train has a unique id (train_id) and a unique name (train_name). also, the type of the train (train_type) and the available classes (avail_class) must be recorded. 2- Each train has a status. Train status is identified by its status id (status_id) for each train. And has wait_seat, available_seat, booked_seats, which must be recorded. 3- Each train has a rout. Departure time (Depart_time), arrival time (arriv_time) and stop number (stop_no) must be recorded. 4- Each train starts and ends at a specific station. Train station has unique id (station_id) and a unique name (station_name). Also, a train station consists of several routes. 5- Users help passengers to book one or more train status. The date of booking (date) must be recorded. Each user is identified by id (user_id), and has password (password) and security quest (security_quest). 6- A passenger is identified by PNR. Passenger name (p_name), age, gender, seat number (seat_no), and reservation status (reserve_status) must be recorded. Draw an E-R diagram that captures the above information

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David Kroenke

11th Edition

0132302675, 9780132302678

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago