Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 7

Cinema

ITS232
IntroductiontoDatabaseManagementSystem

GROUP:CS1103e

1. ProposedProjectOverview
1.1 Proposed System Process
Having seen the problems expressed by their employees, here we concluded
several way to solve the problem.We plan to key-in the data about the customer
information into the system that will be made. Customers information record does
not include information about the customer, but only information about the movie
on that day.
1.2 Proposed System Objectives
The objective to be achieved here is we want to provide information about the
number of customers that day. At the end of the day, the employer can analyst
the number of customers on that day. In addition, employer can also record the
entry and exit of money based on the number of customers that day. This is to
avoid if there is any leakage in the money.
1.3 Proposed System Scopes
This system is available for the cashier at the counter. They key-in the data about
the customer information into the system.

2.ProjectOrganization
2.1 Organizational Structure

Project
Manager
Muhamad

Database
Designer
Murrshidi

Ensure the project is


completed on time and
within budget, that the
projects objective are met
and that everyone else is
doing their job properly.

Develops and
implements state of
the art information
technology strategies
and platforms that
meet current and
future business
needs.

Programmer
-Syamier
-Ahmad

Creates and modifies


computer programs
by converting project
requirements into
code

Database and System Design


Entity Relationship Diagram
Customer

Ticket

Hall

PK

PK

PK

CUSTNO
CUSTNAME
DOB

TICKETID
TICKET

TSEAT

PRICE

SEATNO

BIL

FILM
PK

HALLNO

TFILM
TIME
TQUALITY

3.3 Data definition Language(DDL)


3.3.1 Create Database
CREATE DATABASE CINEMA
3.3.2 Create Table
a) Create table of customer
CREATE TABLE CUSTOMER
(CUSTNO INTEGER NOT NULL,CUSTNAME VARCHAR(50) NOT NULL, DOB DATE)

b) Create table of ticket


CREATE TABLE TICKET
(TICKETID INTEGER NOT NULL,TICKET VARCHAR(50) NOT NULL,PRICE
DECIMAL(8,2),BIL INTEGER NOT NULL)

Data Manipulation Language(DML)


3.4.1 INSERT INTO
INSERT INTO CUSTOMER VALUES(1,'IKHMAL','1/13/2015')
INSERT INTO TICKET VALUES(1,'JURASSIC WORLD',11.00,3)
UPDATE
- change name
UPDATE CUSTOMER SET CUSTNAME='NAS' WHERE CUSTNO=5
DELETE
DELETE FROM CUSTOMER WHERE CUSTNO=6
SELECT
SELECT * FROM CUSTOMER
SELECT * FROM TICKET
SCALAR FUNCTION
-Total price
SELECT TICKETID,TICKET,(PRICE*BIL) AS 'ACTUAL PRICE' FROM TICKET ORDER BY
TICKETID
COLUMN FUNCTION
SELECT TICKETID,TICKET,BIL AS TICKETBUY FROM TICKET ORDER BY TICKETID

4. CONCLUSION
Conclusion
this project successfully achieve its goal because customer can easily
use the system without having a problem. Customer can manage their
information and keep the data conveniently for the user to keep the data.
Recommendation
this system can get improvement by having more functions that has
not included in this system such as the such as the cinema information
which are the ticket title and price on certain day.
Another improvement that can be addon this system by making its
compatible to all operator ticketing system so it can be used widely without
having problems.

You might also like