SlideShare a Scribd company logo
1 of 29
CASE STUDY
Pavan kumar Dola
Sai Priya Putta
Sruthi
Khyathi
Eshman
Objective:
This case study is aimed to provide the customers facility to book tickets for
cinema halls online,through which they can book tickets Anytime,anywhere. E-
ticket system is basically made for providing the customer an anytime and
anywhere service for booking the seat in the cinema hall and to gather
information about the movies online. The user can easily be able to know about
the movies released and then make the choice. And we will also provide some
process description and data dictionary.Admin can use the system to insert and
delete data (e.g. film description, time table) which will update the webpage
(webpage are dynamic page, changing according to the data in database).
Also, admin can check the statistic information from the system.
The main purpose of our online ticket booking system is to provide another
way for the customer to buy cinema ticket. It is an automatic System. After
inserting the data to database, staff need not to due with the order receive
through the system. In fact, there is similar system on the internet, but
there is no refund method found in the existing System. This system is
basically aimed to provide the customer the complete information of the
movie, according to which the customer can book the tickets and the
refund facility provides more flexibility to the system.
PURPOSE:
Data Modeling Design
A)DATA REQUIREMENTS:
->Attributes
->Entities
->Relationships
->Primary attributes
ER DIAGRAM:
DESIGN OF
RELATIONAL
DATABASE
SCHEMA
DEVELOPMENT:
Design of Database Table:
The data to be used in the system are stored in various tables.
The number of tables used & their structure are decided upon
keeping in mind the logical relation in the data available.
The database design specifies:
1. The various tables to be used
2. Data to store in each table
3. Format of the fields & their types
User Information:
Booking:
DATA STRUCTURE (Tables in the database):
SQL CODE:
create table theatre(movie_name
varchar(20), screen varchar(20),
seats number(20))
create table customer(screen
varchar(20), showtimings
varchar(20), tid number(20))
insert into theatre values('Ghost',
'screen 1', 99)
insert into theatre
values('Avengers', 'screen 2', 120)
insert into theatre values('Gravity',
'screen 3', 120)
insert into theatre
values('Conjuring', 'screen 4', 120)
insert into theatre values('Major',
'screen 5', 120)
insert into theatre values('IT',
'screen 6', 120)
insert into customer values('screen 1', '7:00 pm', 123)
insert into customer values('screen 1', '7:00 pm', 789)
insert into customer values('screen 1', '9:00 pm', 997)
insert into customer values('screen 2', '9:00 am', 546)
insert into customer values('screen 2', '9:00 am', 342)
insert into customer values('screen 3', '10:00 pm', 142)
insert into customer values('screen 3', '9:00 am', 768)
insert into customer values('screen 3', '9:00 am', 765)
insert into customer values('screen 4', '10:00 pm', 321)
insert into customer values('screen 4', '10:00 pm', 874)
insert into customer values('screen 5', '7:00 pm', 796, 122)
-- printing the tables before performing the operations on the table
select * from theatre
select * from customer
-- altering the name of the table
alter table theatre rename to movies
select * from movies
-- altering the table by adding a column into the table
alter table movies add theatre_name varchar(20)
select * from movies
-- altering the table by adding a column into the table
customer
alter table customer add price varchar(20)
select * from customer
-- altering the table by dropping the price column as the
datatype is wrong
alter table customer drop column price
select * from customer
-- altering the table by adding a column for the price into
the table customer
alter table customer add price number(20)
select * from customer
-- update the value of the price for the tickets
update customer set price = 112
select * from customer
-- updating the values of the added column of the table
update movies set theatre_name = 'INOX'
select * from movies
-- queries
-- displaying the details of movies in screen 6
select * from movies where screen = 'screen 6'
-- displaying the sum of the amount collected by selling
the tickets using the agregate function SUM
select sum(price) from customer
-- displaying the details of movies from the movies
database where the show timing is 7:00 pm
select * from movies where screen in (select screen from
customer where showtimings = '7:00 pm')
-- displaying the ticket ids where the screen chosen is
screen 3
select tid from customer where screen = 'screen 3'
CONCLUSION:
Nowadays, traditional reservation ways of cinema ticketing is dying. It’s new age
where technology dominates human life. With the software and technological
devices, exceptions are reduced and even terminated. Also, people prefer easy,
quick and safe way for every part of his life. This project is designed to meet the
requirements of a cinema ticket booking system. It has been developed in PHP
and the database has been built in My SQL server keeping in mind the
specifications of the system. In our project: with this cinema ticketing system;
cinema companies can satisfy comfortable facilities to their customers. The
relationship between cinema manager, employee, and customer satisfy a good
communication to complete ticketing process. With this platform we developed, we
are hoping to reduce time wasting, avoid misunderstandings, provide easy data
flow, customer pleasure, and less hard work. We believe that we have
accomplished our goals and satisfied with the code we developed.

More Related Content

What's hot

Cursor implementation
Cursor implementationCursor implementation
Cursor implementationvicky201
 
19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittalsatyaragha786
 
Dbms case studies_cse_iv_sem
Dbms case studies_cse_iv_semDbms case studies_cse_iv_sem
Dbms case studies_cse_iv_semnidhi12gehu
 
Bellman-Ford-Moore Algorithm and Dijkstra’s Algorithm
Bellman-Ford-Moore Algorithm and Dijkstra’s AlgorithmBellman-Ford-Moore Algorithm and Dijkstra’s Algorithm
Bellman-Ford-Moore Algorithm and Dijkstra’s AlgorithmFulvio Corno
 
Infix prefix postfix expression -conversion
Infix  prefix postfix expression -conversionInfix  prefix postfix expression -conversion
Infix prefix postfix expression -conversionSyed Mustafa
 
SRS on airline reservation system
SRS on airline reservation system SRS on airline reservation system
SRS on airline reservation system VikasSingh958
 
C programming - Pointer and DMA
C programming - Pointer and DMAC programming - Pointer and DMA
C programming - Pointer and DMAAchyut Devkota
 
Railway Reservation system
Railway Reservation systemRailway Reservation system
Railway Reservation systemMasum Rehman
 
Data Structure and Algorithms Linked List
Data Structure and Algorithms Linked ListData Structure and Algorithms Linked List
Data Structure and Algorithms Linked ListManishPrajapati78
 

What's hot (20)

DBMS Practical File
DBMS Practical FileDBMS Practical File
DBMS Practical File
 
Time and Space Complexity
Time and Space ComplexityTime and Space Complexity
Time and Space Complexity
 
Cursor implementation
Cursor implementationCursor implementation
Cursor implementation
 
19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal19701759 project-report-on-railway-reservation-system-by-amit-mittal
19701759 project-report-on-railway-reservation-system-by-amit-mittal
 
Dbms case studies_cse_iv_sem
Dbms case studies_cse_iv_semDbms case studies_cse_iv_sem
Dbms case studies_cse_iv_sem
 
pushdown automata
pushdown automatapushdown automata
pushdown automata
 
Bellman-Ford-Moore Algorithm and Dijkstra’s Algorithm
Bellman-Ford-Moore Algorithm and Dijkstra’s AlgorithmBellman-Ford-Moore Algorithm and Dijkstra’s Algorithm
Bellman-Ford-Moore Algorithm and Dijkstra’s Algorithm
 
Online Railway reservation
Online Railway reservationOnline Railway reservation
Online Railway reservation
 
List in Python
List in PythonList in Python
List in Python
 
Infix prefix postfix expression -conversion
Infix  prefix postfix expression -conversionInfix  prefix postfix expression -conversion
Infix prefix postfix expression -conversion
 
Online bus ticket booking
Online bus ticket bookingOnline bus ticket booking
Online bus ticket booking
 
Online attendance management system
Online attendance management systemOnline attendance management system
Online attendance management system
 
SRS on airline reservation system
SRS on airline reservation system SRS on airline reservation system
SRS on airline reservation system
 
C programming - Pointer and DMA
C programming - Pointer and DMAC programming - Pointer and DMA
C programming - Pointer and DMA
 
Topdown parsing
Topdown parsingTopdown parsing
Topdown parsing
 
Thread model in java
Thread model in javaThread model in java
Thread model in java
 
Stacks in c++
Stacks in c++Stacks in c++
Stacks in c++
 
Student report
Student reportStudent report
Student report
 
Railway Reservation system
Railway Reservation systemRailway Reservation system
Railway Reservation system
 
Data Structure and Algorithms Linked List
Data Structure and Algorithms Linked ListData Structure and Algorithms Linked List
Data Structure and Algorithms Linked List
 

Similar to DBMS Case Study B3.pptx

Online movie tickets
Online movie ticketsOnline movie tickets
Online movie ticketsJAI BAMORIYA
 
Qa 00501--online ticket-booking_pvr_cinemas
Qa 00501--online ticket-booking_pvr_cinemasQa 00501--online ticket-booking_pvr_cinemas
Qa 00501--online ticket-booking_pvr_cinemassokkary
 
Movie Ticket Booking Website Project Presentation
Movie Ticket Booking Website Project PresentationMovie Ticket Booking Website Project Presentation
Movie Ticket Booking Website Project PresentationAvinandan Ganguly
 
W7 57-010126-2009-8
W7 57-010126-2009-8W7 57-010126-2009-8
W7 57-010126-2009-8OHM_Resistor
 
Movie ticket booking
Movie ticket bookingMovie ticket booking
Movie ticket bookingRutul Dave
 
computer science project on movie booking system
computer science project on movie booking systemcomputer science project on movie booking system
computer science project on movie booking systemAnurag Yadav
 
409033670-Presentation-on-online-movie-ticket-booking-system.ppt
409033670-Presentation-on-online-movie-ticket-booking-system.ppt409033670-Presentation-on-online-movie-ticket-booking-system.ppt
409033670-Presentation-on-online-movie-ticket-booking-system.pptShyam910905
 
Online Movie Ticket Booking
Online Movie Ticket BookingOnline Movie Ticket Booking
Online Movie Ticket BookingAstha Patel
 
project_presentation for bcom ty (1).pptx
project_presentation for bcom ty (1).pptxproject_presentation for bcom ty (1).pptx
project_presentation for bcom ty (1).pptxSarangTilekar1
 
Project report cinema
Project report cinemaProject report cinema
Project report cinemajaspaljb
 
Objectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docxObjectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docxamit657720
 
Objectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docxObjectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docxvannagoforth
 
Online Movie ticket booking Project
Online Movie ticket booking ProjectOnline Movie ticket booking Project
Online Movie ticket booking ProjectSHAZIA JAMALI
 
Bus transportation query report
Bus transportation query reportBus transportation query report
Bus transportation query reportSudhanshu Moolya
 
Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02ISHA AHUJA
 
Cinema Ticket Selling System
Cinema Ticket Selling SystemCinema Ticket Selling System
Cinema Ticket Selling Systemijtsrd
 
Online movie ticket booking system
Online movie ticket booking systemOnline movie ticket booking system
Online movie ticket booking systemnidhi bhardwaj
 
Viki Big Data Meetup 2013_10
Viki Big Data Meetup 2013_10Viki Big Data Meetup 2013_10
Viki Big Data Meetup 2013_10ishanagrawal90
 

Similar to DBMS Case Study B3.pptx (20)

Online movie tickets
Online movie ticketsOnline movie tickets
Online movie tickets
 
Qa 00501--online ticket-booking_pvr_cinemas
Qa 00501--online ticket-booking_pvr_cinemasQa 00501--online ticket-booking_pvr_cinemas
Qa 00501--online ticket-booking_pvr_cinemas
 
Movie Ticket Booking Website Project Presentation
Movie Ticket Booking Website Project PresentationMovie Ticket Booking Website Project Presentation
Movie Ticket Booking Website Project Presentation
 
W7 57-010126-2009-8
W7 57-010126-2009-8W7 57-010126-2009-8
W7 57-010126-2009-8
 
Movie ticket booking
Movie ticket bookingMovie ticket booking
Movie ticket booking
 
movie.pptx
movie.pptxmovie.pptx
movie.pptx
 
computer science project on movie booking system
computer science project on movie booking systemcomputer science project on movie booking system
computer science project on movie booking system
 
409033670-Presentation-on-online-movie-ticket-booking-system.ppt
409033670-Presentation-on-online-movie-ticket-booking-system.ppt409033670-Presentation-on-online-movie-ticket-booking-system.ppt
409033670-Presentation-on-online-movie-ticket-booking-system.ppt
 
Online Movie Ticket Booking
Online Movie Ticket BookingOnline Movie Ticket Booking
Online Movie Ticket Booking
 
project_presentation for bcom ty (1).pptx
project_presentation for bcom ty (1).pptxproject_presentation for bcom ty (1).pptx
project_presentation for bcom ty (1).pptx
 
Project report cinema
Project report cinemaProject report cinema
Project report cinema
 
Objectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docxObjectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docx
 
Objectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docxObjectives The main objective of this assignment is checking .docx
Objectives The main objective of this assignment is checking .docx
 
Online Movie ticket booking Project
Online Movie ticket booking ProjectOnline Movie ticket booking Project
Online Movie ticket booking Project
 
Bus transportation query report
Bus transportation query reportBus transportation query report
Bus transportation query report
 
Cinema booking system
Cinema booking systemCinema booking system
Cinema booking system
 
Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02
 
Cinema Ticket Selling System
Cinema Ticket Selling SystemCinema Ticket Selling System
Cinema Ticket Selling System
 
Online movie ticket booking system
Online movie ticket booking systemOnline movie ticket booking system
Online movie ticket booking system
 
Viki Big Data Meetup 2013_10
Viki Big Data Meetup 2013_10Viki Big Data Meetup 2013_10
Viki Big Data Meetup 2013_10
 

Recently uploaded

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of PlayPooky Knightsmith
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jisc
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsSandeep D Chaudhary
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsNbelano25
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...Nguyen Thanh Tu Collection
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111GangaMaiya1
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxRugvedSathawane
 
Ernest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsErnest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsPallavi Parmar
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfstareducators107
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfElizabeth Walsh
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonhttgc7rh9c
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxCeline George
 

Recently uploaded (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Play hard learn harder: The Serious Business of Play
Play hard learn harder:  The Serious Business of PlayPlay hard learn harder:  The Serious Business of Play
Play hard learn harder: The Serious Business of Play
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111Details on CBSE Compartment Exam.pptx1111
Details on CBSE Compartment Exam.pptx1111
 
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptxMichaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
Michaelis Menten Equation and Estimation Of Vmax and Tmax.pptx
 
Ernest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell TollsErnest Hemingway's For Whom the Bell Tolls
Ernest Hemingway's For Whom the Bell Tolls
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lessonQUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
QUATER-1-PE-HEALTH-LC2- this is just a sample of unpacked lesson
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 

DBMS Case Study B3.pptx

  • 1. CASE STUDY Pavan kumar Dola Sai Priya Putta Sruthi Khyathi Eshman
  • 2. Objective: This case study is aimed to provide the customers facility to book tickets for cinema halls online,through which they can book tickets Anytime,anywhere. E- ticket system is basically made for providing the customer an anytime and anywhere service for booking the seat in the cinema hall and to gather information about the movies online. The user can easily be able to know about the movies released and then make the choice. And we will also provide some process description and data dictionary.Admin can use the system to insert and delete data (e.g. film description, time table) which will update the webpage (webpage are dynamic page, changing according to the data in database). Also, admin can check the statistic information from the system.
  • 3. The main purpose of our online ticket booking system is to provide another way for the customer to buy cinema ticket. It is an automatic System. After inserting the data to database, staff need not to due with the order receive through the system. In fact, there is similar system on the internet, but there is no refund method found in the existing System. This system is basically aimed to provide the customer the complete information of the movie, according to which the customer can book the tickets and the refund facility provides more flexibility to the system. PURPOSE:
  • 8. Design of Database Table: The data to be used in the system are stored in various tables. The number of tables used & their structure are decided upon keeping in mind the logical relation in the data available. The database design specifies: 1. The various tables to be used 2. Data to store in each table 3. Format of the fields & their types
  • 9. User Information: Booking: DATA STRUCTURE (Tables in the database):
  • 10.
  • 11. SQL CODE: create table theatre(movie_name varchar(20), screen varchar(20), seats number(20)) create table customer(screen varchar(20), showtimings varchar(20), tid number(20)) insert into theatre values('Ghost', 'screen 1', 99) insert into theatre values('Avengers', 'screen 2', 120) insert into theatre values('Gravity', 'screen 3', 120) insert into theatre values('Conjuring', 'screen 4', 120) insert into theatre values('Major', 'screen 5', 120) insert into theatre values('IT', 'screen 6', 120)
  • 12. insert into customer values('screen 1', '7:00 pm', 123) insert into customer values('screen 1', '7:00 pm', 789) insert into customer values('screen 1', '9:00 pm', 997) insert into customer values('screen 2', '9:00 am', 546) insert into customer values('screen 2', '9:00 am', 342) insert into customer values('screen 3', '10:00 pm', 142) insert into customer values('screen 3', '9:00 am', 768) insert into customer values('screen 3', '9:00 am', 765) insert into customer values('screen 4', '10:00 pm', 321) insert into customer values('screen 4', '10:00 pm', 874) insert into customer values('screen 5', '7:00 pm', 796, 122) -- printing the tables before performing the operations on the table select * from theatre select * from customer -- altering the name of the table alter table theatre rename to movies select * from movies
  • 13. -- altering the table by adding a column into the table alter table movies add theatre_name varchar(20) select * from movies -- altering the table by adding a column into the table customer alter table customer add price varchar(20) select * from customer -- altering the table by dropping the price column as the datatype is wrong alter table customer drop column price select * from customer
  • 14. -- altering the table by adding a column for the price into the table customer alter table customer add price number(20) select * from customer -- update the value of the price for the tickets update customer set price = 112 select * from customer -- updating the values of the added column of the table update movies set theatre_name = 'INOX' select * from movies
  • 15. -- queries -- displaying the details of movies in screen 6 select * from movies where screen = 'screen 6' -- displaying the sum of the amount collected by selling the tickets using the agregate function SUM select sum(price) from customer -- displaying the details of movies from the movies database where the show timing is 7:00 pm select * from movies where screen in (select screen from customer where showtimings = '7:00 pm') -- displaying the ticket ids where the screen chosen is screen 3 select tid from customer where screen = 'screen 3'
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. CONCLUSION: Nowadays, traditional reservation ways of cinema ticketing is dying. It’s new age where technology dominates human life. With the software and technological devices, exceptions are reduced and even terminated. Also, people prefer easy, quick and safe way for every part of his life. This project is designed to meet the requirements of a cinema ticket booking system. It has been developed in PHP and the database has been built in My SQL server keeping in mind the specifications of the system. In our project: with this cinema ticketing system; cinema companies can satisfy comfortable facilities to their customers. The relationship between cinema manager, employee, and customer satisfy a good communication to complete ticketing process. With this platform we developed, we are hoping to reduce time wasting, avoid misunderstandings, provide easy data flow, customer pleasure, and less hard work. We believe that we have accomplished our goals and satisfied with the code we developed.