SlideShare a Scribd company logo
 Project Problem for ticket GSC online ticket
system is the need of the clients and the users,
what is desired from the system such as provide
the customer the complete information of the
movie. Besides that, admin can use the system to
insert and update data which will update and
changing according to the database. For
example, for administrator the system can be
accessed by providing administrator password.
Administrator can search or update the
information related to customer details and so
on. And for customer, customer can view and
book the movie ticket by selecting the seat of
their choices.
 The attributes for user are user ID and password,
address and phone No which user ID are primary
key.
 The attributes for ticket are ticket No, time, date,
seat No and movie title.
 The attributes for GSC Account are user ID,
username and password which is user ID is
primary key.
 The attributes for payment are payment No, date
and time which primary key payment No.
 The attributes for confirmation are User ID,
name, movie title, ticket No, date, time and seat
No.
 Superclass is Payment.
 Subclasses are Cash Counter and Online
which are also type of payment.
 The constraint is MANDATORY because ALL
Payment must be either Cash or Online.
 The constraint is OR because the Payment
must either Cash r or Online but not at
the same time.
 SQL is a standard language for accessing databases.
 The SQL SELECT statement is what we use to choose, or
select, the data that we want returned from the database to
our application.
 The WHERE Clause is to start limiting, or filtering, the data we
fetch from the database. By adding a WHERE clause to
the SELECT statement,add one (or more) conditions that must
be met by the selected data.
 This will limit the number of rows that answer the query and
are fetched. In many cases, this is where most of the "action"
of a query takes place.
EXAMPLE OF QUERIES IN MOVIE TICKET SYSTEM
 Query to view the Customer Name,Movie Title, time
and SeatNo.
SELECT Confirmation.CustomerName, Confirmation.MovieTitle,
Confirmation.Time, Confirmation.SeatNo
FROM Confirmation;
The selection from the "Confirmation" table will now look like this:
•Query to update customer detail.
The UPDATE statement is used to update existing records in a
table.
UPDATE Customer
SET CustomerName='NurSyafizah',address='Setiawangsa'
WHERE CustomerName='Syafiza';
The selection from the "Customers" table will now look like this:

More Related Content

Viewers also liked

J Welch Skills1
J Welch Skills1J Welch Skills1
J Welch Skills1
jmarty9
 
C'est quoi le Coran ?
C'est quoi le Coran ?C'est quoi le Coran ?
C'est quoi le Coran ?
kt42 catechisme
 
MEASUREMENT AND TRANSMISSION OF AGROMET DATA FOR WEATHER (2)
MEASUREMENT AND TRANSMISSION OF AGROMET   DATA   FOR   WEATHER (2)MEASUREMENT AND TRANSMISSION OF AGROMET   DATA   FOR   WEATHER (2)
MEASUREMENT AND TRANSMISSION OF AGROMET DATA FOR WEATHER (2)Gautami Naik
 
Animal farm propaganda
Animal farm propagandaAnimal farm propaganda
Animal farm propaganda
ccmiceli
 
Chapter 1 principle of geology 1 meeting
Chapter 1 principle of geology 1 meetingChapter 1 principle of geology 1 meeting
Chapter 1 principle of geology 1 meeting
Hary Death
 
Diaporama "Rendre temoignage au Seigneur"
Diaporama "Rendre temoignage au Seigneur"Diaporama "Rendre temoignage au Seigneur"
Diaporama "Rendre temoignage au Seigneur"
kt42 catechisme
 
Diaporama la-grande-histoire-de-la-premiere-communion
Diaporama la-grande-histoire-de-la-premiere-communionDiaporama la-grande-histoire-de-la-premiere-communion
Diaporama la-grande-histoire-de-la-premiere-communion
kt42 catechisme
 
Comunicação social
Comunicação socialComunicação social
Comunicação social
Ana Ferreira
 

Viewers also liked (8)

J Welch Skills1
J Welch Skills1J Welch Skills1
J Welch Skills1
 
C'est quoi le Coran ?
C'est quoi le Coran ?C'est quoi le Coran ?
C'est quoi le Coran ?
 
MEASUREMENT AND TRANSMISSION OF AGROMET DATA FOR WEATHER (2)
MEASUREMENT AND TRANSMISSION OF AGROMET   DATA   FOR   WEATHER (2)MEASUREMENT AND TRANSMISSION OF AGROMET   DATA   FOR   WEATHER (2)
MEASUREMENT AND TRANSMISSION OF AGROMET DATA FOR WEATHER (2)
 
Animal farm propaganda
Animal farm propagandaAnimal farm propaganda
Animal farm propaganda
 
Chapter 1 principle of geology 1 meeting
Chapter 1 principle of geology 1 meetingChapter 1 principle of geology 1 meeting
Chapter 1 principle of geology 1 meeting
 
Diaporama "Rendre temoignage au Seigneur"
Diaporama "Rendre temoignage au Seigneur"Diaporama "Rendre temoignage au Seigneur"
Diaporama "Rendre temoignage au Seigneur"
 
Diaporama la-grande-histoire-de-la-premiere-communion
Diaporama la-grande-histoire-de-la-premiere-communionDiaporama la-grande-histoire-de-la-premiere-communion
Diaporama la-grande-histoire-de-la-premiere-communion
 
Comunicação social
Comunicação socialComunicação social
Comunicação social
 

Similar to Task4 db

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
 
Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02
ISHA AHUJA
 
Scope Definition of Online Ticketing System
Scope Definition of Online Ticketing SystemScope Definition of Online Ticketing System
Scope Definition of Online Ticketing System
Shahriar Parvez
 
Scope definition of ticketing automation bangladesh
Scope definition of ticketing automation bangladeshScope definition of ticketing automation bangladesh
Scope definition of ticketing automation bangladeshShakil Mahmood
 
Launching Your Service Desk
Launching Your Service DeskLaunching Your Service Desk
Launching Your Service Desk
Autotask
 
Newgen solution Customer Query Resolution and Response Tracking System
Newgen solution   Customer Query Resolution and Response Tracking SystemNewgen solution   Customer Query Resolution and Response Tracking System
Newgen solution Customer Query Resolution and Response Tracking System
Newgen Software Technologies Limited
 
Online reastaurant ordering managemant system
Online reastaurant ordering managemant systemOnline reastaurant ordering managemant system
Online reastaurant ordering managemant system
Preksha Thada
 
Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)
ISAH BABAYO
 
Airline Reservation System - Software Engineering
Airline Reservation System - Software EngineeringAirline Reservation System - Software Engineering
Airline Reservation System - Software Engineering
Drishti Bhalla
 
Tenrox Complete Overview 2009
Tenrox Complete Overview 2009Tenrox Complete Overview 2009
Tenrox Complete Overview 2009nightskyy
 
Online travel booikng
Online travel booikngOnline travel booikng
Online travel booikng
sanket shah
 
Online Bus Reservation System
Online Bus Reservation SystemOnline Bus Reservation System
Online Bus Reservation System
A-Tech and Software Development
 
Service Provider
Service Provider Service Provider
Service Provider
Jatin Devani
 
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom System
Nikhil Vyas
 
Project report cinema
Project report cinemaProject report cinema
Project report cinema
jaspaljb
 
AR Database Cleansing Process
AR Database Cleansing ProcessAR Database Cleansing Process
AR Database Cleansing Process
Ckclancy
 
Online Bus Service
Online Bus ServiceOnline Bus Service
Online Bus Service
saurabh kumar
 
Business broadband application form
Business broadband application formBusiness broadband application form
Business broadband application formJay Prakash
 
Geoland Title Limited Customer Relationship Management System Manual
Geoland Title Limited Customer Relationship Management System ManualGeoland Title Limited Customer Relationship Management System Manual
Geoland Title Limited Customer Relationship Management System Manual
formingcool
 

Similar to Task4 db (20)

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
 
Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02Onlinemovieticketbooking 120215060739-phpapp02
Onlinemovieticketbooking 120215060739-phpapp02
 
Scope Definition of Online Ticketing System
Scope Definition of Online Ticketing SystemScope Definition of Online Ticketing System
Scope Definition of Online Ticketing System
 
Scope definition of ticketing automation bangladesh
Scope definition of ticketing automation bangladeshScope definition of ticketing automation bangladesh
Scope definition of ticketing automation bangladesh
 
Launching Your Service Desk
Launching Your Service DeskLaunching Your Service Desk
Launching Your Service Desk
 
Newgen solution Customer Query Resolution and Response Tracking System
Newgen solution   Customer Query Resolution and Response Tracking SystemNewgen solution   Customer Query Resolution and Response Tracking System
Newgen solution Customer Query Resolution and Response Tracking System
 
Online reastaurant ordering managemant system
Online reastaurant ordering managemant systemOnline reastaurant ordering managemant system
Online reastaurant ordering managemant system
 
R12 MOAC AND PAYABLES
R12 MOAC AND PAYABLESR12 MOAC AND PAYABLES
R12 MOAC AND PAYABLES
 
Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)Airlineppt 160621085220 (1)
Airlineppt 160621085220 (1)
 
Airline Reservation System - Software Engineering
Airline Reservation System - Software EngineeringAirline Reservation System - Software Engineering
Airline Reservation System - Software Engineering
 
Tenrox Complete Overview 2009
Tenrox Complete Overview 2009Tenrox Complete Overview 2009
Tenrox Complete Overview 2009
 
Online travel booikng
Online travel booikngOnline travel booikng
Online travel booikng
 
Online Bus Reservation System
Online Bus Reservation SystemOnline Bus Reservation System
Online Bus Reservation System
 
Service Provider
Service Provider Service Provider
Service Provider
 
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom System
 
Project report cinema
Project report cinemaProject report cinema
Project report cinema
 
AR Database Cleansing Process
AR Database Cleansing ProcessAR Database Cleansing Process
AR Database Cleansing Process
 
Online Bus Service
Online Bus ServiceOnline Bus Service
Online Bus Service
 
Business broadband application form
Business broadband application formBusiness broadband application form
Business broadband application form
 
Geoland Title Limited Customer Relationship Management System Manual
Geoland Title Limited Customer Relationship Management System ManualGeoland Title Limited Customer Relationship Management System Manual
Geoland Title Limited Customer Relationship Management System Manual
 

Recently uploaded

BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
Scholarhat
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 

Recently uploaded (20)

BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Azure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHatAzure Interview Questions and Answers PDF By ScholarHat
Azure Interview Questions and Answers PDF By ScholarHat
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 

Task4 db

  • 1.
  • 2.  Project Problem for ticket GSC online ticket system is the need of the clients and the users, what is desired from the system such as provide the customer the complete information of the movie. Besides that, admin can use the system to insert and update data which will update and changing according to the database. For example, for administrator the system can be accessed by providing administrator password. Administrator can search or update the information related to customer details and so on. And for customer, customer can view and book the movie ticket by selecting the seat of their choices.
  • 3.
  • 4.  The attributes for user are user ID and password, address and phone No which user ID are primary key.  The attributes for ticket are ticket No, time, date, seat No and movie title.  The attributes for GSC Account are user ID, username and password which is user ID is primary key.  The attributes for payment are payment No, date and time which primary key payment No.  The attributes for confirmation are User ID, name, movie title, ticket No, date, time and seat No.
  • 5.  Superclass is Payment.  Subclasses are Cash Counter and Online which are also type of payment.  The constraint is MANDATORY because ALL Payment must be either Cash or Online.  The constraint is OR because the Payment must either Cash r or Online but not at the same time.
  • 6.  SQL is a standard language for accessing databases.  The SQL SELECT statement is what we use to choose, or select, the data that we want returned from the database to our application.  The WHERE Clause is to start limiting, or filtering, the data we fetch from the database. By adding a WHERE clause to the SELECT statement,add one (or more) conditions that must be met by the selected data.  This will limit the number of rows that answer the query and are fetched. In many cases, this is where most of the "action" of a query takes place.
  • 7.
  • 8.
  • 9. EXAMPLE OF QUERIES IN MOVIE TICKET SYSTEM  Query to view the Customer Name,Movie Title, time and SeatNo. SELECT Confirmation.CustomerName, Confirmation.MovieTitle, Confirmation.Time, Confirmation.SeatNo FROM Confirmation; The selection from the "Confirmation" table will now look like this:
  • 10. •Query to update customer detail. The UPDATE statement is used to update existing records in a table. UPDATE Customer SET CustomerName='NurSyafizah',address='Setiawangsa' WHERE CustomerName='Syafiza'; The selection from the "Customers" table will now look like this: