SlideShare a Scribd company logo
1 of 10
 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 Skills1jmarty9
 
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 propagandaccmiceli
 
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 meetingHary 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-communionkt42 catechisme
 
Comunicação social
Comunicação socialComunicação social
Comunicação socialAna 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-phpapp02ISHA AHUJA
 
Scope Definition of Online Ticketing System
Scope Definition of Online Ticketing SystemScope Definition of Online Ticketing System
Scope Definition of Online Ticketing SystemShahriar 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 DeskAutotask
 
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 SystemNewgen Software Technologies Limited
 
Online reastaurant ordering managemant system
Online reastaurant ordering managemant systemOnline reastaurant ordering managemant system
Online reastaurant ordering managemant systemPreksha 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 EngineeringDrishti 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 booikngsanket shah
 
Online Bus Reservatiom System
Online Bus Reservatiom SystemOnline Bus Reservatiom System
Online Bus Reservatiom SystemNikhil Vyas
 
Project report cinema
Project report cinemaProject report cinema
Project report cinemajaspaljb
 
AR Database Cleansing Process
AR Database Cleansing ProcessAR Database Cleansing Process
AR Database Cleansing ProcessCkclancy
 
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 Manualformingcool
 

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

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 

Recently uploaded (20)

Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)ESSENTIAL of (CS/IT/IS) class 06 (database)
ESSENTIAL of (CS/IT/IS) class 06 (database)
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 

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: