DR.
PANJABRAO DESHMUKH GIRLS POLYTECHNIC
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.
Movie Ticket Booking System 1|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
SYSTEM REQUIREMENTS
HARDWARE REQUIREMENTS
RAM: 2GB and higher
HARD DISK: 40GB and higher
MOUSE: 2 or 3 button mouse
MONITOR : 1024*768 display resolution
SOFTWARE REQUIREMENTS
Microsoft word 2016
Operating system: Window 11
Oracle 10g Express edition
Movie Ticket Booking System 2|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
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.
Movie Ticket Booking System 3|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
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.
CREATE: CREATE statement is used to create any database object. To create
database object like table, database, view etc. We use Data definition language (DDL)
SYNTAX: CREATE TABLE<TABLE_NAME> (COLUMN_1 DATATYPE,
COLUMN_2 DATATYPE, COLUMN_N DATATYPE);
INSERT: INSERT statement used to add records to the existing table.
SYNTAX: INSERT INTO <TABLE_NAME> VALUES (COLUMN1, COLUMN );
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;
UPDATE: UPDATE command to modify the existing records in the database.
SYNTAX: UPDATE TABLE NAME
SET COLUMN_NAME=VALUE
WHERE CONDITION;
Movie Ticket Booking System 4|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
ORDER BY: ORDER BY command to sort the data in either as ascending or
descending order according to one or more columns.
SYNTAX: SELECT * FROM TABLE NAME
ORDER BY COLUMN 1 ASC/DESC;
GROUP BY: GROUP BY command to group rows or column according to need.
SYNTAX: GROUP BY COLUMN 1[ COLUMN 2];
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);
SYNTAX:-Modify the existing column in the table
ALTER TABLE TABLE_NAME MODIFIY (COLUMNS DEFINITION);
Movie Ticket Booking System 5|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
ER- DIAGRAM
Movie Ticket Booking System 6|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
QUERIES
1. BOOKING TABLE:
CREATE TABLE BOOKING8(BOOKINGID NUMBER, MOVIEID NUMBER,
BOOKINGTHEATRE VARCHAR2(100), BOOKINGTYPE VARCHAR2(100),
BOOKINGFNAME VARCHAR2(100),BOOKINGLNAME VARCHAR2(100),
BOOKINGPNAME VARCHAR2(50), BOOKINGPNUMBER NUMBER,
BOOKINGEMAI VARCHAR2(255), AMOUNT NUMBER, ORDERID NUMBER);
DESC BOOKING8;
INSERT INTO BOOKING8 VALUES ('101','1001','RAJLAXMI
CINEMA','ONLINE','HORRER OF HEART:1975','HINDI','SEJAL THAKUR',
'9304567689' ,'sejal@[Link]','500','100100');
INSERT INTO BOOKING8 VALUES ('102','1002','NEW REGEL
CINEMA','ONLINE','VIKRANT RONA','HINDI','ADITI PATIL',
'9943937833' ,'palak@[Link]','500','100101');
INSERT INTO BOOKING8 VALUES ('103','1003','MIRAJ
CINEMA','ONLINE','LUNCH BOX','HINDI','NAMRATA RATHI',
'9340563891' ,'namrata@[Link]','500','100102');
INSERT INTO BOOKING8 VALUES ('104','1004','RAJLAXMI
CINEMA','ONLINE','DUNIYADARI','MARATHI','SITARA GHATE',
'9638927491' ,'sitara@[Link]','400','100103');
INSERT INTO BOOKING8 VALUES ('105','1005','SUNNY PALACE
CINEMA','ONLINE','ANNABELLE','ENGLISH','MAHESH PETHE',
'982340456' ,'mahesh@[Link]','600','100104');
INSERT INTO BOOKING8 VALUES ('106','1006','CARNIVAL
CINEMA','ONLINE','SHERSHAAH','HINDI','GAUTAM PATIL',
'7525891456' ,'gautam@[Link]','500','100105');
INSERT INTO BOOKING8 VALUES ('107','1007','RAJLAXMI
CINEMA','ONLINE','TIME PASS','MARATHI','SALONI DHOBALE', '9935467891'
,'saloni@[Link]','400','100106');
SELECT *FROM BOOKING8;
Movie Ticket Booking System 7|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
2. MOVIETABLE:-
CREATE TABLE MOVIEZ(MOVIEID NUMBER, MOVIETITLE
VARCHAR2(100), MOVIEDURATION NUMBER, MOVIERELDATE DATE,
MOVIEDIRECTOR VARCHAR2(50), MOVIEACTORS VARCHAR2(150),
MAINHALL NUMBER, VIPHALL NUMBER, PRIVATEHALL NUMBER);
DESC MOVIEZ;
INSERT INTO MOVIEZ VALUES(1001,'HORRER OF THE HEART-1920',2 , '22
JUN 2023','KRISHNA BHATT','AVIKA GOR AND DANISH PANDOR',1,6,10);
INSERT INTO MOVIEZ VALUES(1002,'VIKRANT RONA',2.3 , '28 JUL
2023','ANUP BHANDARI','JACQUELINE AND SUDEEP',2,7,11);
INSERT INTO MOVIEZ VALUES(1003,'LUNCH BOX',3 , '20 SEP 2023','RITESH
BATRA','NAWAZUDDIN SIDDIQUI',3,8,9);
INSERT INTO MOVIEZ VALUES(1004,'DUNIYADARI',2 , '19 JUL
2023','SANJAY JADHAV','ANKUSH CHOUDHARY AND SAI
TAMHANKAR',1,6,10);
INSERT INTO MOVIEZ VALUES(1005,'ANNABELLE',3 , '03 OCT 2023','JOHN
[Link]','ANNABELLE WALLIS AND WARD HORTON ',3,8,9);
INSERT INTO MOVIEZ VALUES(1006,'SHERSHAAH',3 , '12 AUG
2023','VISHNUVARDHAN','KIARA ADVANI AND SIDHARTH
MALHOTRA',2,7,11);
INSERT INTO MOVIEZ VALUES(1007,'TIMEPASS',2.3 , '03 JAN 2024','RAVI
JADHAV','PRATHAMESH PARAB ',1,6,10);
INSERT INTO MOVIEZ VALUES(1008,'YAARIYAN 2',2.15 , '20 OCT
2023','RADHIKA RAO','DIVYA KUMAR AND PEARL V. PURI',2,7,11);
INSERT INTO MOVIEZ VALUES(1009,'BOYZ 4',2.3 , '20 OCT 2023','VISHAL
DEVRUKHKAR','RITIKA,SUMANT,PARTH AND PRATIK',3,8,9);
SELECT *FROM MOVIEZ;
Movie Ticket Booking System 8|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
[Link] TABLE:-
CREATE TABLE USER1( ID NUMBER(11),USERNAME VARCHAR(80),NAME
varchar(80),PASSWORD VARCHAR2(80) );
DESC USER1;
INSERT INTO USER1 VALUES(101,'SEJAL12','SEJAL THAKUR','SEJU');
INSERT INTO USER1 VALUES(102,'ADITI2','ADITI PATIL','ADU');
INSERT INTO USER1 VALUES(103,'NAMRATA65','NAMARAT
RATHI','NAMU');
INSERT INTO USER1 VALUES(104,'SITARA66','SITARA GHATE','SITA');
INSERT INTO USER1 VALUES(105,'MAHESH99','MAHESH PETHE','MAHI');
INSERT INTO USER1 VALUES(106,'GAUTAM08','GAUTAM PATIL','GATU');
INSERT INTO USER1 VALUES(107,'SALONI09','SALONI DHOBALE','SALON');
SELECT *FROM USER1;
3. SEAT BOOKING:
CREATE TABLE SEAT(SEATTYPE VARCHAR2(20),PRICE NUMBER);
DESC SEAT;
INSERT INTO SEAT VALUES('BALCONY',600);
INSERT INTO SEAT VALUES('MIDDLE CLASS',500);
INSERT INTO SEAT VALUES('LOWER CLASS',400);
SELECT *FROM SEAT;
Movie Ticket Booking System 9|Page
[Link] DESHMUKH GIRLS POLYTECHNIC
4. FOODCOUNTER TABLE:
CREATE TABLE FOODCOUNTER1(FOODITEMNAME VARCHAR2(50),PRICE
NUMBER);
DESC FOODCOUNTER1;
INSERT INTO FOODCOUNTER1 VALUES('POPCORN','50');
INSERT INTO FOODCOUNTER1 VALUES('ICE-CREAM','100');
INSERT INTO FOODCOUNTER1 VALUES('CANDY','30');
INSERT INTO FOODCOUNTER1 VALUES('COLDDRINKS','150');
INSERT INTO FOODCOUNTER1 VALUES('SNACKS','70');
SELECT *FROM FOODCOUNTER1;
Movie Ticket Booking System 10 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
5. FEEDBACK TABLE:
CREATE TABLE FEEDBACK2(MSG_ID NUMBER, SENDER_FIRST_NAME
VARCHAR2(50), SENDER_LAST_NAME VARCHAR2(50), SENDER_EMAIL
VARCHAR2(100), SENDER_FEEDBACK VARCHAR2(500));
DESC FEEDBACK2;
INSERT INTO FEEDBACK2 VALUES('100100', 'SEJAL', 'THAKUR',
'sejal@[Link]', 'GOOD');
INSERT INTO FEEDBACK2 VALUES('100101', 'ADITI', 'PATIL',
'aditi@[Link]', 'BETTER');
INSERT INTO FEEDBACK2 VALUES('100102', 'NAMRATA', 'RATHI',
'namrata@[Link]', 'EXCELLENT');
INSERT INTO FEEDBACK2 VALUES('100103', 'SITARA', 'GHATE',
'sitara@[Link]', 'GOOD');
INSERT INTO FEEDBACK2 VALUES('100104', 'MAHESH', 'PETHE',
'mahesh@[Link]', 'GOOD');
INSERT INTO FEEDBACK2 VALUES('100105', 'GAUTAM', 'PATIL',
'gautam@[Link]', 'EXCELLENT');
INSERT INTO FEEDBACK2 VALUES('100106', 'SALONI', 'DHOBALE',
'saloni@[Link]', 'BAD');
SELECT *FROM FEEDBACK2;
Movie Ticket Booking System 11 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
6. OTHER COMMANDS APPLY ON QUEIRIES
ALTER AND UPDATE THE BOOKING TABLE :
ALTER TABLE BOOKING8 ADD(BOOKINGDATE DATE);
DESC BOOKING8;
UPDATE BOOKING8 SET BOOKINGDATE='15 OCT 2023' WHERE
BOOKINGID=101;
UPDATE BOOKING8 SET BOOKINGDATE='21 OCT 2023' WHERE
BOOKINGID=102;
UPDATE BOOKING8 SET BOOKINGDATE='10 NOV 2023' WHERE
BOOKINGID=103;
UPDATE BOOKING8 SET BOOKINGDATE='05 NOV 2023' WHERE
BOOKINGID=104;
UPDATE BOOKING8 SET BOOKINGDATE='15 DEC 2023' WHERE
BOOKINGID=105;
UPDATE BOOKING8 SET BOOKINGDATE='27 JAN 2023' WHERE
BOOKINGID=106;
UPDATE BOOKING8 SET BOOKINGDATE='25 DEC 2023' WHERE
BOOKINGID=107;
SELECT *FROM BOOKING8;
USE OF AGGREGATE:
SELECT SUM(AMOUNT) FROM BOOKING8;
SELECT MIN(AMOUNT) FROM BOOKING8;
SELECT MAX(AMOUNT)FROM BOOKING8;
USE OF GROUP BY QUERY:
SELECT AMOUNT,AMOUNT,SUM(AMOUNT) FROM BOOKING8 GROUP BY
AMOUNT;
USE OF ORDER BY QUERY:
SELECT *FROM BOOKING8 ORDER BY BOOKINGID DESC;
CREATE VIEW:
CREATE VIEW BOOKINGDETAILS AS SELECT
BOOKINGTHEATRE,BOOKINGFNAME FROM BOOKING8 WHERE
AMOUNT=500;
SELECT *FROM BOOKINGDETAILS;
CREATE VIEW MOVIEDETAILS AS SELECT [Link],
[Link] ,[Link] FROM MOVIEZ,BOOKING8
WHERE [Link]=[Link];
SELECT *FROM MOVIEDETAILS;
Movie Ticket Booking System 12 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
USE OF JOIN:
SELECT [Link], [Link],
[Link] FROM MOVIEZ INNER JOIN BOOKING8 ON
[Link]=[Link];
ALTER AND UPDATE THE USER TABLE:
ALTER TABLE USER1 ADD(SEAT VARCHAR2(20));
DESC USERS;
UPDATE USER1 SET SEAT='BALCONY SEAT' WHERE ID=101;
UPDATE USER1 SET SEAT='LOWER CLASS SEAT' WHERE ID=102;
UPDATE USER1 SET SEAT='MIDDLE CLASS SEAT' WHERE ID=103;
UPDATE USER1 SET SEAT='LOWER CLASS SEAT' WHERE ID=104;
UPDATE USER1 SET SEAT='BALCONY SEAT' WHERE ID=105;
UPDATE USER1 SET SEAT='MIDDLE CLASS SEAT' WHERE ID=106;
UPDATE USER1 SET SEAT='BALCONY SEAT' WHERE ID=107;
SELECT *FROM USERS;
Movie Ticket Booking System 13 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
OUTPUT
Fig.1 BOOKING TABLE (CREATE,DESC,INSERT,SELECT)
Fig.2 MOVIE TABLE(CREATE,DESC,INSERT,SELECT)
Movie Ticket Booking System 14 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig.3 USER TABLE (CREATE,DESC,INSERT,SELECT)
Fig.4 SEATS (CREATE,DESC,INSERT,SELECT)
Movie Ticket Booking System 15 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig.5 FOOD COUNTER(CREATE,DESC,INSERT,SELECT)
Fig.6 FEEDBACK TABLE(CREATE,DESC,INSERT,SELECT)
Movie Ticket Booking System 16 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig. BOOKING TABLE (ALTER,DESC,UPDATE,SELECT)
Fig.7.1 AGGREGATE FUNCTION (SUM)
Fig.7.2 AGGREGATE FUNCTION (MIN)
Movie Ticket Booking System 17 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig.7.3 AGGREGATE FUNCTION (MAX)
Fig.11 GROUP BY
Movie Ticket Booking System 18 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig.12 BOOKING TABLE (ORDER BY)
Fig.13 VIEW
Movie Ticket Booking System 19 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig.14 MULTIPLE VIEW
Fig.15 JOIN
Movie Ticket Booking System 20 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
Fig.16 USER TABLE(ALTER,DESC,UPDATE,SELECT)
Movie Ticket Booking System 21 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
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.
Movie Ticket Booking System 22 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
CONCLUSION
Ihe movie ticket booking system is a comprehensive web-based application that
revolutionizes the way users book movie tickets. With its user-friendly interface, extensive
movie selection, personalized accounts, and secure online payment process, it provides a
convenient and efficient platform for users to reserve seats and enjoy their favourite movies
hassle-free. This micro project has allowed us to understand the intricacies of database
management systems and apply them to develop a functional and user-centric movie ticket
booking system.
Movie Ticket Booking System 23 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
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.
Movie Ticket Booking System 24 | P a g e
[Link] DESHMUKH GIRLS POLYTECHNIC
REFRENCE
WEBLINKS:-
[Link]
[Link]
[Link]
[Link] .com
Movie Ticket Booking System 25 | P a g e