Dbms Final
Dbms Final
INTRODUCTION
This project is aimed at developing a ticket reservation system for Cinema Halls. The Ticket
Reservation System is an Internet based application that can be accesses throughout the Net
and can be accessed by anyone who has a net connection. This application will automate the
reservation of tickets and Enquiries about availability of the tickets. This application includes
email confirmation for the tickets.
This is one of the important features of our system. By examining the existing system on the
internet, we found that there is no such function available at this moment, so we try to include
it in our system. To protect the benefit of the cinema, we will not give the money back to the
customer, instead the customer has to visit cinema hall for further process. So, the customer
can get the money from the cinema hall. Hence both the customer and the cinema can sort out
further matter.
The "Showtimes" table is crucial as it holds information about the specific showtimes for
each movie at each theater. It includes details like the movie ID, theater ID, date, time, and
available seats. This table enables users to select a suitable showtime for their movie.
To complete the booking process, there is a "Bookings" table that stores information about
the user's reservation. It includes data such as the user ID, showtime ID, number of tickets,
and total amount paid. This table ensures that the user's seats are reserved and keeps track of
their booking details.
SYSTEM REQUIREMENTS
HARDWARE REQUIREMENTS
SOFTWARE REQUIREMENTS
EXISTING SYSTEM
The existing system of a movie ticket booking system for your DBMS micro project typically
involves a web-based application or mobile app that allows users to book movie tickets
online. It provides a user-friendly interface where users can browse through a wide range of
movies, select their preferred showtimes, and reserve seats for a specific movie and theatre.
In the existing system, users can create an account or log in using their credentials. This
allows them to have a personalized experience, view their booking history, and receive
notifications about upcoming movies and special offers.
The system includes a database that stores information about movies, theatres, showtimes,
and bookings. The movie table contains details such as the movie title, genre, duration, and
rating. The theatre table includes information about the theatre name, location, and seating
capacity. The showtimes table holds data about the specific showtimes for each movie at each
theatre, including the date, time, and available seats. The bookings table stores information
about the user's reservations, including the user ID, showtime ID, number of tickets, and total
amount paid.
To book a movie ticket, users can search for movies based on various criteria such as genre,
language, or release date. They can also filter the results by theatre location or seating
preference. Once they select a movie, they can choose a showtime from the available options
and proceed to select their desired seats. The system should display a seating layout for the
selected theatre, indicating which seats are available and which are already booked. Users can
then select their preferred seats and proceed to the payment process.
PROPOSED SYSTEM
The purpose of your movie ticket booking system could be to create a user-friendly platform
that allows customers to easily browse and book movie tickets. The system aims to
streamline the ticket booking process by providing a seamless experience from movie
selection to seat reservation and payment. It should also provide up-to-date information on
movie showtimes, theatre locations, and available seats. The purpose is to make it convenient
for users to book their favourite movies, choose their preferred seats, and receive
confirmation of their booking.
SELECT: SELECT is basic statement used to retrieve all or same column of data
from table. We can select all column from table by specify *as column name.
SYNTAX: SELECT *FROM <TABLE_NAME>
CREATE VIEW: CREATE VIEW command to create a view of the data in one or
more tables in the database.
SYNTAX: CREATE VIEW VIEW_NAME AS
SELECT COLUMN 1, COLUMN 2 ---------COLUMN N
FROM TABLE_NAME
WHERE CONDITION;
DELETE : DELETE command is used to remove one or more records from a table in
a database. It allows you to selectively delete specific records based on certain
conditions.
SYNTAX:DELETE FROM TABLE_NAME
WHERE CONDITION;
MAX : MAX function is used in DBMS to retrieve the maximum value from a
specified column in a table.
SYNTAX: SELECT MAX(COLUMN_NAME)
FROM TABLE_NAME;
MIN : The MIN function in DBMS is an aggregate function that allows you to find
the minimum value in a specific column of a table. It is commonly used to retrieve the
smallest value from a set of data.
SYNTAX : SELECT MIN(COLUMN_NAME)
FROM TABLE_NAME;
SUM: SUM function in DBMS is an aggregate function that allows you to calculate
the sum of values in a specific column of a table. It is commonly used to perform
calculations on numerical data.
SYNTAX:
SUM(COLUMN_NAME)
TABLE_NAME;
ALTER: Alter command it is used to alter the structure of the database these change
could be either to modify the characteristics of existing attribute or a probability to
Add a new attribute.
SYNTAX: To add a new column in the database
ALTER TABLE_NAME ADD COLUMN _NAME (COLUMN SPECIFICATION);
ER- DIAGRAM
QUERIES
1. BOOKING TABLE:
DESC BOOKING8;
INSERT INTO BOOKING8 VALUES ('101','1001','RAJLAXMI
CINEMA','ONLINE','HORRER OF HEART:1975','HINDI','SEJAL THAKUR',
'9304567689' ,'sejal@gmail.com','500','100100');
2. MOVIETABLE:-
DESC MOVIEZ;
3.USER TABLE:-
DESC USER1;
3. SEAT BOOKING:
DESC SEAT;
4. FOODCOUNTER TABLE:
DESC FOODCOUNTER1;
5. FEEDBACK TABLE:
DESC FEEDBACK2;
USE OF JOIN:
OUTPUT
Fig.11 GROUP BY
Fig.13 VIEW
Fig.15 JOIN
ADVANTAGES
Convenience: Users can book tickets anytime, anywhere, without standing in long
queues.
Time-saving: Customers can skip the hassle of physically going to the theater to
purchase tickets.
Seat selection: The system allows users to choose their preferred seats in advance.
Real-time availability: Users can check the availability of seats and showtimes in real-
time.
DISADVANTAGES
Technical issues: The system may encounter glitches or downtime, affecting the
booking process.
Dependency on internet: Users without internet access may face difficulties in
booking tickets.
Additional fees: Online booking platforms may charge convenience fees or service
charges.
Limited options: Some theaters or movies may not be available for online booking.
CONCLUSION
FUTURE SCOPE
Mobile Application: Developing a mobile app version of the movie ticket booking
system would allow users to conveniently book tickets on the go, increasing
accessibility and user engagement.
Integration with social media: Integrating the system with popular social media
platforms would enable users to share their movie plans, reviews, and
recommendations with friends, enhancing the social aspect of movie-going.
Loyalty Programs: Implementing a loyalty program where users can earn points or
rewards for booking tickets regularly could encourage customer retention and repeat
usage.
REFRENCE
WEBLINKS:-
https://www.scribd.com
https://www.geeksforgeeks.org
https://study.com
https://w3school .com