Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Submission: Through the webpage of course in CW system. Project Description: A In this project, you must design a database management system for the train
Submission: Through the webpage of course in CW system.
Project Description:
A
In this project, you must design a database management system for the train ticket sales system. Your design needs to include: the ERD diagram, the relational model, the relational algebra expressions as well as the corresponding SQL commands for each report. Please note that the final project is a group work. Each working group can include at most three students. Each member of a working team need to submit its work separately via the CW system. You should consider the following details in your design:
Each tractor locomotive can only move passenger wagons or freight wagons for car transport
The ticket sales system is generally set up for each tourist center, meaning that this system
must be able to be assigned to multiple centers. It should be noted that each tourist center needs to be discriminated from the other by a unique code. The commission amount of each center should be set by the system administrator and its
contract number
Each train has the following specifications that must be set by the system manager before
selling the ticket:
Wagon section:
Men's passenger wagon
Women's passenger wagon
Family passenger wagon
Special freight wagon for transporting cars
Route settings:
The system administrator must adjust the date of departure based on the capacity of the wagons
The number of coupes in each wagon must be adjusted by the manager, but the number of seats in each coupe is defined according to the standard.Normal coupe: seats; price of each seat M; the total price of the coupe is M
Royal Coupe: seats; price of each seat N; the total price of the coupe is N
Ticket sales settings:
The ticket sales system should calculate the passenger's age automatically based on his. The cost of each passenger ticket according to hisher age, has the following rates:
Travelers years and more, full ticket
Travelers under years, halfprice ticket
The designed system should be able to provide the following reports:
A report of the names of passengers, wagons, coupes, gender
Report of vehicles delivered for transportation including owner name, license plate number, passenger name, wagon, coupe
A report on the number of filled wagons and filled coupes
Report of empty seats: seat number, coupe name, wagon name, gender assigned to the wagon
Different financial reports such as:
a Ticket sales
b Commissions allocated to each tourist center
c Number of passengers by gender plus costs
d Time of departure, number of wagons and name of train
A report on the number of tractors required to carry the wagons of a train
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