Closed gopiraju3 closed 1 year ago
I had go through this issue, I think it might work successfully for the project.
By using this, we can easily check the number of tickets sold, also the available tickets.
i have reviewed issue by Creating a database table for tickets streamlines the ticketing process, enabling efficient storage of essential information such as movie details, purchaser data, and available tickets.
I had gone through this issue, we can be able to know the number of tickets purchased by each customer.
By Creating a well-organized table for tickets not only increases the effectiveness of ticket processing, but it also helps organize the database as a whole and improves the user experience.
Table : Ticket
CREATE TABLE Ticket ( ticket_id INT PRIMARY KEY AUTO_INCREMENT, booking_id INT NOT NULL, seat_number VARCHAR(10) NOT NULL, FOREIGN KEY (booking_id) REFERENCES Booking(booking_id) );