Sei sulla pagina 1di 18

Government Polytechnic, Dhule

Phone no.02562 272103 Fax no- 02562&72103

Web: www.gpdhule.org Email: gpdhule.dte@gmail.com

Program Name - Computer Engineering

Program Code – CO-3-I

Course Name – Database Management System

Course Code – 22319

Project Title

“Super Shop Management System”

Academic Year 2018-19


MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

CERTIFICATE

This is to certify that


Mr./Ms………………………………………………………………………. Roll
No. ……….. of Third Semester of Diploma in Computer Engineering of
Institute Government Polytechnic, Dhule (0017) has completed the Micro Project
satisfactorily in the Subject Database Management System (22319) for the
Academic Year 2018-19 as prescribed in the curriculum.

Place: Enrollment No:

Date: Exam Seat No:

Subject Teacher Head of the Department Principal

Seal of
Instituti
on
Program Name - Computer Engineering
Program Code – CO-3-I

Course Name – Database Management System

Course Code – 22319

Project Title

“Super Shop Management System”

Sr. No. Name of Student Roll No. Enrollment No. Exam Seat No.

1 Atharv Satyendra Agrawal 207 17001700010

2 Pratik Ajay Mahajan 241 1700170048

3 Aaditya Sanjay Patil 242 170017050

4 Akash Bharat Wagh 250 1700170223

Mr. A J PAKHARE

Course Faculty & Signature


Program Name – Computer Engineering Program Code – CO-I
Course Name – Database Management System Course Code – 22319
Project Title - “Super Shop Management System”
Course Outcomes (CO), Practical Outcomes (PRO’s) and Unit Outcomes (UOs) Mapping

COs PRO’s and PSO UOs

Mapping

CO304.1 – PRO’s Sr. No. 1. D-Draw the ER diagram of the given database
Design4 normalized 3,4,5,6,7,8,10, and identify relationship between the entities.
data on given data. 11,13,14,15,16 2. B -Design normalized database structure in the
CO304.2 – given problem.
Create6& Manage 2. C -Design SQL queries to create relational
database using SQL database and apply in the given constraints.
command 3-A -Write the given queries using relevant
CO304.3 – functions.
Write1 PL/SQL code PSO Mapping 3-C -Design SQL queries to implement VIEWS.
for given database. PSO1: Software 4-A -Write simple PLSQL code using control
CO304.4 – Domain structure and handle exceptions in given
Apply3 trigger on situation.
database also create 4-B -Create cursor for retrieving multiple
procedure and records.
function according to 4-D -Create and apply database triggers using
condition. PLSQL in the given situation.
OBJECTIVES:-

 To produce software which manage the activities done in a Super-Market.

 To maintain the stock details.


 To reduce time in calculation of Sales activities.
 To store large amount of data in the database which will reduce clumsiness.
 To reduce paper work; so that users can spend more time on monitoring the

Super-Market.

Introduction

 This project deals with Super-Market automation.

 A Super-Market is a self-service store offering a wide variety of items related to

food,household or daily use.

 Includes both purchase and sale of products.

 Designed to make the existing system more informative, reliable, fast and easy

for all the stake-holders.

Work Flow

Work in the Supermarket will be done in the following way:

1. The product will come in the store.


2. Data entry operator will enter the information of the product in
database.
3. The Administrator will enter the taxes and commissions for each
product.
4. The customer will come and take the basket with him/her and choose
the product and took it to the counter.
5. The bill calculating operator will check the products with the bar code
detecting machine then it will match with product-id then it will show
its information and price and the bill will be calculated and total
payment will shown.
6. Customer will pay for the products.
7. All the products will be packed and delivered to the customer.

Modules
We will use 5 modules in this project. These are as follows:
Module 1: Login–Id
This module is made for the login of users. We know that we have 3 users so
login-id is for:
1. Administrator
2. Data Entry Operator
3. Bill Calculating Operator
Module 2: Apply taxes and commissions
This module is for administrator who will
1. Set the taxes for the products.
2. Set the commissions for the products.
Module 3: Check the Report
This module is also for the administrator who can generate or check the report
of the product and how many products are sold on particular date or in a period
of time.
Module 4: Enter the information about products
This module is for data entry operator who will
1. Enter which products come in the store.
2. Prices and expiry date of the product.
Module-5: Calculate the bill
This module is for bill calculating operator who will
1. Calculate the bill.
2. Print it.

Advantages of the proposed system

 Reduced processing cost.

 Error reduction.

 Automatic updation of product details.

 Improved report generation and analysis.

 Better equipped to meet user requirements.

 Reduction in use of paper.

 Reduction in man power.

 Faster response time

Pre-Normalization

List of Attributes :

• Customer – Customer Name , Customer ID , Address, Phone no

• Ordered Product – Product Name , Product Type , Product ID , Product Price, Quantity

• Billing Counter – Bill No, Customer ID details , Bill Amount, Bill Status

• Product Shelves – Product Category , Product Type , Product Model ID

• Employee – Employee NameEmployeeDesignation ,Employee ID , Salary


Normalization :-
Customer:-

Customer_id Primary key


Customer_name
Address
Phone_no

Product:-

Product_id Primary key


Product_type
Product_name
Product_Price
Quantity

Bill :-

Bill_no Primary key


Customer_id Foreign key from table customer
Amount
Bill_status

Employee:-

Employee_id Primary key


Employee_name
Employee_designation
Salary

Distributor:-

Distributor_id Primary key


Distributor_Name
Product_type
Price_of_single_product
Total_price
Relationships between Tables

1. Customer Purchase Products

2. Customer Pays Bill

3. Customer Buys From Shop Details

4. Employee Has Shop Details

5. Distributor Distribute To Shop Details

6. Distributor Supplies Products

Primary Keys

 CUSTOMER – CUSTOMER_ID

 BILL - BILL_NO.

 EMPLOYEE – EMP_ID

 DISTRIBUTER- DISTRIBUTER_ID

 PRODUCT- PRODUCT_ID

Relationships

 Customer – Customer ID – Billing Counter


ER Diagram
SQL Queries

1> CREATE TABLE SHOP_DETAILS( SHOP_NAME VARCHAR(30),ADDRESS


VARCHAR(50),EMAIL_ID VARCHAR(50),CONTACT_NO BIGINT);

INSERT INTO SHOP_DETAILS VALUES('SBS SUPER SHOPEE','KHOL GALI


DHULE','sbsdhule@gmail.com',7447521020);

2>CREATE TABLE EMPLOYEE (EMP_ID INT PRIMARY KEY,F_NAME


VARCHAR(20),L_NAME VARCHAR(20),DESIGNATION VARCHAR(20),SALARY INT );

INSERT INTO employee VALUES(1001,'Paresh','Patil','Administrator',40000);

INSERT INTO employee VALUES(1002,'Suresh','More','Manager',25000);


INSERT INTO employee VALUES(1003,'Lalit','Bhavsar','Data Entry oparetor',15000);

INSERT INTO employee VALUES(1004,'Rajesh','Koranne','Bill Accountant',10000);

INSERT INTO employee VALUES(1005,'Mahesh','Suryawanshi','Grain cleaner',9000);

INSERT INTO employee VALUES(1006,'Suraj','Agrawal','Grain cleaner',8500);

INSERT INTO employee VALUES(1007,'Rakesh','Mahale','Sweeper',7000);

3>CREATE TABLE CUSTOMER(CUSTOMER_ID INT PRIMARY KEY,C_NAME


VARCHAR(50),PHONE_NO BIGINT,ADDRESS VARCHAR(50));

INSERT INTO customer VALUES('Anil','Mali',2001,9884063210,'Khol galli, Dhule');

INSERT INTO customer VALUES('Akshay','Bramhe',2002,8567432180,'Walwadi, Dhule');

INSERT INTO customer VALUES('Jayesh','Bafna',2003,9856321473,'vadibhokar, Dhule');


INSERT INTO customer VALUES('Ashish','More',2004,9764312586,'Panchavati, Dhule');

INSERT INTO customer


VALUES('Bhavesh','Patil',2005,9864676123,'railway_station,Dhule');

INSERT INTO customer VALUES('Swarnim','Jain',2006,9685743212,'ram_wadi,Dhule');

INSERT INTO customer


VALUES('Sushant','Shinde',2007,9999666633,'agrawal_nagar,Dhule');

4>CREATE TABLE PRODUCT(PRODUCT_ID INT PRIMARY KEY,TYPE VARCHAR(50),PRICE


INT,QUANTITY INT);

INSERT INTO PRODUCT VALUES(

5001 ,’Bath and whasing soap’ ,30, 50);

INSERT INTO PRODUCT VALUES(


5002 ,’Snacks’ ,10, 50);

INSERT INTO PRODUCT VALUES(

5003 ,’Masala and papads’ ,70, 50);

INSERT INTO PRODUCT VALUES(

5004 ,’Mens and womens grooming’ ,100, 50);

INSERT INTO PRODUCT VALUES(

5005 ,’Dals,Sabudana and grains’ ,30, 50);

INSERT INTO PRODUCT VALUES(

5006 ,’Choclates’ ,30, 50);

5>CREATE TABLE BILL(BILL_NO INT PRIMARY KEY,CUSTOMER_ID INT REFERENCES


customer(CUSTOMER_ID), AMOUNT INT,BILL_STATUS VARCHAR(10));

INSERT INTO bill VALUES(3001,2001,2000,'Paid');

INSERT INTO bill VALUES(3002,2002,2400,'Paid');

INSERT INTO bill VALUES(3003,2003,1500,'Paid');


INSERT INTO bill VALUES(3004,2004,1700,'Paid');

INSERT INTO bill VALUES(3005,2005,1100,'Paid');

INSERT INTO bill VALUES(3006,2006,1000,'Due');

INSERT INTO bill VALUES(3007,2007,3500,'Paid');

6>CREATE TABLE DISTRIBUTER(DISTRIBUTER_ID INT PRIMARY KEY,D_NAME


VARCHAR(50),PRODUCT_TYPE VARCHAR(20), P_OF_SINGLE INT,TOTAL_PRICE INT);

INSERT INTO distributer VALUES('Raja Distributer',4001,'Bath Soap',20,2000);

INSERT INTO distributer VALUES('Ganesh Distributer',4002,'Namkeens',15,1500);

INSERT INTO distributer VALUES('Radhika Distributer',4003,'Masala & Papads',20,2000);

INSERT INTO distributer VALUES('Varai Distributer',4004,'Pickles',60,3000);

INSERT INTO distributer VALUES('Ravalgaon Choclates',4005,'Choclates',200,2000);

INSERT INTO distributer

VALUES('ShivaDistributer',4006,'Dals,Sabudana,Grains',70,70000);
INSERT INTO distributer VALUES('Manish Distributer',4007,'Mens and womens

Gromming',20,2000);
Conclusion

1. With business opportunities increasing as never before, companies are in dire need of

2. efficient management. One such key area is to maintain a methodical way of managing

largedatabases, especially in the Retail sector.

3. DBMS is a vital tool for future growth of business organizations.

4. It offers a simple, efficient and reliable way of storing, managing and accessing data.

5. The features offered by DBMS are : Query ability, Backup, Security and Computation

which are the needs of a fast-paced corporate system.

6. To churn profits, companies need to have a good plan along with affective DBMS.
EVALUATION SHEET FOR MICRO PROJECT
(Academic Year: 2018-19)

Name of the Student: Roll No:

Course:Database Management System (22319) Course Code: CO 1I

Title of the Project: Super shop Management System

Cos addressed by Micro Project:

1. To produce software which manage the activities done in a Super-Market.


2. To maintain the stock details.
3. To reduce time in calculation of Sales activities.
4. To store large amount of data in the database which will reduce clumsiness.

Major learning outcomes achieved by students by doing the project:

a) Practical outcome:
1) DBMS is a vital tool for future growth of business organizations
b) Unit outcomes in Cognitive Domain:
1) Rewrite sentences using relevant forms of verbs
c) Out comes in affective domain:
1) Function as a team member
2) Follow ethics

Comments/suggestions about teamwork/leadership/interpersonal communications (if any):

Marks out of 04
Marks out of 06
for performance
for performance
Roll No Student Name in oral or Total out of 10
in group activity
presentation
(D5 Column 08)
(D5 Column 09)

Name & Signature of Faculty:

Potrebbero piacerti anche