2.Consider the following entities and their relationships Customer (c_no, c_name, c_city, c_ph_no ) Ticket (t_no, booking_date, fare, traveling_date) The relationship between Customer and Ticket is one-to-many. Create a RDB in 3 NF for the above. Using the above database, write a PHP script to accept date and display, 1) The total fare collected from customers on a given date. 2) Ticket details booked by the customer.
Assignment: Practice Set Q.2 Solution
Consider the following entities and their relationships Customer (c_no, c_name, c_city, c_ph_no ) Ticket (t_no,
booking_date, fare, traveling_date)
The relationship between Customer and Ticket is one-to-many. Create a RDB in 3 NF for the above. Using the above
database, write a PHP script to accept date and display, 1) The total fare collected from customers on a given
date. 2) Ticket details booked by the customer.
0 Comments