Вы находитесь на странице: 1из 20

PRESTIGE INSTITUTE OF MANAGEMENT &

RESEARCH

PRESENTATION
on

Data Base Project

PRESENTED TO: PRESENTED BY:


PROF. DEEPAK JAROLIYA AMITA AGRAWAL
GHANESHWER JHARBADE
SHERON GOYAL
Company Scenario

• We are making a database project for a printing company


“PRINT ZONE” located in Indore.
• It prints packaging material for various clients.
• The working mainly involves printing of packing material for
medicines and chocolates.
• It is a small company where all the things are managed
manually.
Purpose of the Project

• We aim at providing a desktop application for maintaining:

• Inventory Details

• Client Details

• Order Details

• Product Details
FOLLOWED BY
RECEIVED BY
BILLING WEIGHING

FOLLOWED
BY

GIVES ORDER TO DOES


CLIENT COMPANY PRINTING

PROCESS

IS DISPATCHED TO
ORDER

ACCORDING
TO
RAW HAS
INVENTORY
MATERIAL
• Client : It is any company who gives order for printing.
• Company : It refers to “PRINT ZONE”.
• Order : It describes the quantity of product required by customer.
• Inventory : It is the stock of various things within company.
• Raw Material : It is stock of foils in different type & size.
• Printing : It is process of preparing product.
• Weighing : It is process of measuring printed product.
• Billing : It is process of preparing final amount to be taken from client.
CONT_ ORDER_
C_EMAIL NO ID PRODUCT_I
D
C_ID QUANTITY
C_ID
C_NAME
ORDER_D
CONT_P
ATE
ERSN ORDER
GIVES
CLIENT
P_NAME
C_ADD
M_SIZE
FOR

SETTLEMENT_DT
DISPATCHED
TO
M_TYPE

Has PRODUCT COLOR

PAYMENT P_ID
MNUF
ACC M_TYPE
ORDER_I
AMT_DUE D

RAW MAT_ M_SIZE


PAYMENT_I INVENTORY
D AMT_DEPO STOCK_QT
ENTITY DESCRIPTION
CLIENT
Definition: A company having requirement of printing that gives
order to ‘PRINT ZONE’.
Entity Type: Strong
Functions:
 To give order and product details.
 To collect the order dispatched.
 To make payment.
Attributes: C_ID, C_NAME, CONT_PERSN,C_ADD,
CONT_NO, C_EMAIL
ENTITY DESCRIPTION

PRODUCT
Definition: The entity to be printed and dispatched, or can
be said as order given by client.
Entity Type: Strong
Functions:
 To be printed and dispatched by company.
 It has clear specifications as per client’s need.
Attributes: P_ID, P_NAME,M_TYPE, M_SIZE,COLOR
ENTITY DESCRIPTION

ORDER
Definition: The requirement put forward by client.
Entity Type: Strong
Functions:
 It is associated with a client and a product.
 It specifies order date, quantity of the product to be printed.
Attributes: ORDER_ID, C_ID, PRODUCT_ID, ORDER_DATE,
QUANTITY
ENTITY DESCRIPTION

PAYMENT
Definition: The amount paid by client against the order.
Entity Type: Weak
Functions:
 Every payment to be made has a final settlement date.
 Payment can be done in credit.
Attributes: PAYMENT_ID, ORDER_ID, AMT_DEPO,
AMT_DUE, SETTLEMENT_DT, CLIENT_ID
ENTITY DESCRIPTION

RAW MAT_INVENTORY
Definition: The stock of cylinders and foil kept as inventory in
the company.
Entity Type: Strong
Functions:
 Each unit in inventory has a specific material type and size.
 It is used in making the final product.
Attributes: M_TYPE, M_SIZE, STOCK_QT
CLIENT

C_ID C_NAM C_ADD OFF_P CON MOBILE C_EMAI


E H_NO T_ _NO L
PERS
N
1st NORMAL FORM

C_ID C_NAME C_ADD OFF_PH C_EMAI


_NO L

C_ID CONT_PERSO CONT_NO


N
PRODUCT

P_ID C_ID P_NA M_TY M_SIZ COLO PRICE


ME PE E R _QUO
TE
ORDER

ORDER C_I PROD ORDE QUANT DISPAT QUANT


_ID D UCT_I R_DA ITY CH_DA ITY_DI
D TE TE SPATC
HED
PAYMENT

PAYMENT_ID ORDER_ID AMT_DEPO AMT_DUE SETTLEMENT_ CLIENT_


DT ID
RAW MAT_INVENTORY

M_TYPE M_SIZE STOCK_QT


QUERIES
• Create table client (“c_id” varchar (10) primary key,
“c_name” varchar (20), “c_add” varchar (30), “office_no”
number (15), “c_email” varchar (20));
• Create table Client_contact ( “c_id” varchar (10) references
client, “cont_person” varchar (15) , “mobile_no” number
(11));
• Create table product (“P_id” varchar (10) primary key, “c_id”
varchar (10) references client , “prod_name” varchar (15),
“material_type” varchar (15), “material_size” varchar(10),
“color” varchar (10) , “price” number (10));
• Create table order (“order_id ” varchar (10) primary key, “c_id”
varchar (10) references client, “p_id” varchar (10) references
product, “order_date” date, “order_quantity” number (10),
“dispatch_date” date, “quantity_dispatched” number (10));
• Create table payment (“payment_id” varchar (10), “order_id”
varchar (10) references order, “client_id” varchar (10) references
client, “amt_depo” number (10), “amt_due” number (10),
“settlement_date” date);
• Create table rawmaterial (“m_type” varchar (10), “m_size”
varchar(10), “qunt_stock” number (10));
• Insert into client values (“1”, “Kshipra Drugs”, “dewas” ,
“07272557878”, “kshipra.drugs@gmail.com”);
• Insert into client_contact values(“1”,”Sanjay”,
“09826095578”);
• Insert into product ( “1001”, “1” ,”panshi-d”, “blister
foil”,”152mm”,”single red”,”360”);
• Select * from client;
• Select * from client_contact where client id = “1”;

Вам также может понравиться