100% found this document useful (1 vote)
789 views22 pages

DBMS Final Microproject

This document outlines a micro-project proposal to design a normalized database and ER diagram for a grocery management system. It includes an introduction describing the goal of automating grocery store processes. The aim is to learn database concepts and create tables using SQL. The outcome will be to manage products, customers and create tables. Research was conducted from websites, videos and books. The methodology includes selecting the topic, gathering information, and creating the database design. An action plan with timelines is provided for completing the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
789 views22 pages

DBMS Final Microproject

This document outlines a micro-project proposal to design a normalized database and ER diagram for a grocery management system. It includes an introduction describing the goal of automating grocery store processes. The aim is to learn database concepts and create tables using SQL. The outcome will be to manage products, customers and create tables. Research was conducted from websites, videos and books. The methodology includes selecting the topic, gathering information, and creating the database design. An action plan with timelines is provided for completing the project.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

GOVERNMENT POLYTECHNIC, AMBAD

DEPARTMENT OF COMPUTER ENGINEERING


COURSE&CODE-DATABASE MANAGEMENT SYSTEM /22319
ACADEMIC YEAR- 2022-23

A MICRO-PROJECT ON
“Design a Normalized Database & E-R Diagram for
Grocery Management System ”
FOR THE AWARD OF
DIPLOMA IN ENGINEERING & TECHNOLOGY
( Computer Engineering – CO3I )
UNDER THE GUIDANCE OF
MRS.S.M.BANKAR

SUBMITTED BY

Sr NO Roll No Enrollment No Name of Student

1 09 2111620074 Bondare Mauli Pralhad


2 10 2111620075 Borude Amol Ramdas
3 13 2111620078 Chobhe Gajanan Limbaji
4 14 2111620079 Choudhari Raviraj Netaji
5 20 2111620086 Ghotkar Amol Rambhau

1|Page
GOVERNMENT POLYTECHNIC,AMBAD.
DEPARTMENT OF COMPUTER ENGINEERING
COURSE &CODE- DATABASE MANAGEMNT SYSTEM/22319

CERTIFICATE

This is to certify that the Micro-project entitled “Design a Normalized Database & E-R
Diagram for Grocery Management System” being submitted here with for the award of
DIPLOMA IN ENGINEERING & TECHNOLOGY in COMPUTER ENGINEERING of
MAHARASHTRA STATEBOARD & TECHNICAL EDUCATION (MSBTE) is the Result of
Micro-project work completed by 09,10,13,14,20-under the supervision and guidance of
Mr.S.M.Bankar It is to the best of my knowledge and belief that the work embodied in this
Micro-project has not formed earlier the basis for the award of any degree or diploma of this
or any other Board or examining body.

Academic Year: 2022-23 Semester : Third Enrollment No:

Place: Ambad Date:

MR.S.M.BANKAR MR.S.M.BANKAR Dr.A.M.JINTURKAR


Micro-Project Guide H.O.D. Principal

2|Page
DECLARATION

We, undersigned hereby to declare that the project entitled “Design a


Normalized Database & E-R Diagram for Grocery Management System” is
written and submitted by Group A to Government Polytechnic Ambad during
Year 2022-23, Third Semester for partial fulfillment of the ‘Micro Project’
requirement of “DATABASE MANAGAMENT SYSTEM” course under
Maharashtra State Board of Technical Education, Mumbai curriculum, under
the guidance of Mr.S.M.Bankar The empirical findings in this project are
based on the collected data and are not copied from any other sources.

Sr NO Roll No Enrollment No Name of Student

1 09 2111620074 Bondare Mauli Pralhad

2 10 2111620075 Borude Amol Ramdas

3 13 2111620078 Chobhe Gajanan Limbaji

4 14 2111620079 Choudhari Raviraj Netaji

5 20 2111620086 Ghotkar Amol Rambhau

3|Page
ACKNOWLEDGEMENTS

We have great pleasure to express my immense gratitude towards a dynamic


person and my project guidance, Mr.S.M.BANKAR Department of COMPUTER
ENGINEERING Government Polytechnic, Ambad for giving me an opportunity to work
on an interesting topic over one semester. The work presented here could not have
been accomplished without her most competent and inspiring guidance, incessant
encouragement, constructive criticism and constant motivation during all phases of
our group Micro-project work. I am highly indebted to him.
We are very much thankful to MR. S.M.BANKAR Head Department of COMPUTER
ENGINEERING all HODs of various departments and Prof. Dr. A.M.JINTURKAR Sir, The
Principal of Government Polytechnic, Ambad for his encouragement and providing me
a motivating environment and project facilities in the Institute to carry out experiments
and complete this Micro-project work.
We would like to extend my thanks to all our professors, staff members and all
our friends who extended their co-operation to complete the project.
We are indeed indebted to my parents and other family members for their
immense help at all levels with moral, social & financial support, care and support
throughout my studies without which my work would not have seen light of the day.
With warm regards,
Yours Sincerely,

Place: Ambad …………………………………………..


Date:

4|Page
GOVERNMENT POLYTECHNIC,AMBAD
DEPARTMENT OF COMPUTER ENGINEERING
COURSE & CODE DATABASE MANAGEMENT SYSTEM/22319
ACADEMIC YEAR- 2022-23
A MICRO-PROJECT ON
“Design a Normalized Database & E-R
Diagram for Grocery Management
System”
(COMPUTER ENGINEERING CO3I)

INDEX
Sr No PART-A Page No
1. Introduction 6
2. Aim 6
3. Course Outcome 6
4. Literature Review 7
5. Purposed Methodology 7
6. Resource Used 8
7. Action Plan 9
PART-B
8. Rationale 10
9. Output of Microproject 10-15
10. Entity Relationship Diagram 16
11. Skill Developed 17
12. Area of Future Improvement 17
13. Application 17-18
14. Conclusion 18
15. References 18

5|Page
PART A

MICROPROJECT PROPOSAL

Design a Normalized Database & E-R Diagram for Grocery


Managament System

1.0 BRIEF INTRODUCTION:

Database Design for Grocery Management System is to help


automatic the process the purchasing product, billing and to make the
purchased transaction fast with accuracy, to keep and secure the sales
records. It helps the employee and the owner to easily manage or manipulate
the transaction of the business. It will avoid wasting of time just to write all
the important information and data of the business transaction and
customer. My system processes and stores all the data or information of the
business. This system is made using java with relationship to Php/MyAdmin.
The database of the system will store all the information such as customer,
employee, product, sales, and payments. My simple silver cross grocery
management allows the user to record the item or sales that are being
reserve or order by the customer. On the Cashier system, the user or the
authorized person can only login as staff administrator.

2.0 AIM OF THE MICROPROJECT:


This micro-project aims at:

1. To know the entire concept about Database Management System.

2. Enhancing knowledge of about how to run SQL queries securely store


all information in one place.

6|Page
3.0 COURSE OUTCOME:
 We will create tables using SQL queries on Grocery Management
System.
 We will able to write and create Tables, ER diagrams.
 We will be able to manage products, manage customers and
create the tables on it.
4.0 LITERATURE REVIEW:

This report attempts to understand the design normalized


database on grocery management system. First, we have gone
through different wed sites, we have seen YouTube videos; we have
seen various books about this micro-project.
In order to make this business become easier, we made Database
Design for Grocery Management System Project which they can
manage the transaction of their business more effectively and
efficiently. In over all this system will gives to the customer and to
the owner a convenience timed and easiest way to manage their
business.

5.0 PURPOSED METHODOLOGY-

 Select the Topic.

 Searching the information from the internet.

 Book Reference.

 Get the information about the topic on internet and other sources.

 To collect information about the how to create the tables on Grocery


Management System.

 To increase knowledge about this topic.

 To prepare soft copy of the Microproject.

7|Page
2.0 ACTION PLAN:

Sr. Details of Planned Planned Name of


No. activity start finish date responsible team
date members

1 Topic selection & 3-10-22 8-10-22 All members


discussion on
project topic.
2 Collection of 9-10-22 14-10-22 All members
information related
to project & its
analysis.
3 Create proposal. 15-10-22 20-10-22 All members

4 Design the project 21-10-22 26-10-22 All members


model.
5 Constructing the 27-10-22 1-11-22 All members
code modal wise.
6 Testing the module. 2-11-22 7-11-22 All members

7 Create the report. 8-11-2 12-11-22 All members


8 Display. 01-12-22 01-12-22 All members

8|Page
3.0 RESOURCES USED:

Sr. No. Name of Specification quantity Quantity Remark


resources

1 1. Laptop 1. ACER 2
2 Mobile 2. Realme
2 Internet www.google.com 1

3 Software Microsoft word 1

4 Book Tech knowledge 1


reference

9|Page
PART B

4.0 RATIONALE:
This Database Design for Grocery Management System designed
to handle grocery stock in, restock, sales, returns, purchase and other
stuff. Point of Sales and Inventory System Database Design stable
revenue system are reasons in which the grocery store offers more
jobs and opportunities to engage inside the earning activities

 OUTPUT OF THE MICROPROJECT

Features for Grocery ManagementSystem

Database Design:
 Manage products
 Stored all the data
 Manage customer
 Monitor the number of customer

10 | P a g e
Data Dictionaries:
Table 1: Customer Table
Fieldname Description Type Length

Customer_id Customer ID Number int 11

Firstname Customer Firstname varchar 50

Lastname Customer Lastname varchar 50

Purchase_Product Product Purchase varchar 11

 Example:

11 | P a g e
Table 2: Employee Table
Fieldname Description Type Length

Employee_ID Employee ID Number int 50

Name Employee Firstname varchar 50

Hire_Date Date of Hired date 11

Salary Employee Salary int 11

Job_title Employee Job Title varchar 50

 Example:

12 | P a g e
Table 3: Product Table

Fieldname Description Type Length

Product_ID Product ID Number int 11

Name Name of Product varchar 75

Availability Available of Product int 11

Price Price of Product int 11

 Example:

13 | P a g e
Table 4: Sales Table
Fieldname Description Type Length

Sales_ID Sales ID Number int 11

First_Name Firstname of Customer varchar 75

Product_name Name of Product varchar 50

Price Price of Product int 11

Quantity Quantity of Product int 11

Date_Purchase Date of Purchase date 11

 Example:

14 | P a g e
Table 5: Payment Table
Fieldname Description Type Length

Payment_ID Payment ID Number int 50

Name Name of Product varchar 50

Cost Product Cost int 50

Stock Product Stock int 50

Description Description of Product int 50

 Example:

15 | P a g e
5.0 Entity Relationship Diagram:

16 | P a g e
 NORAMALIZATION OF TABLE

Why Normalization: Database normalization is the process of removing


redundant data from your tables in order to improve storage efficiency,
data integrity, and scalability.
 Normalization generally involves splitting existing tables into multiple
ones, which must be re-joined or linked each time a query is issued.
 Given table is converted to its 1NF as follows.
 • STEP NUMBER 1: elimination of duplicative columns from table 1. •
STEP NUMBERER 2: create separate table for each group of related
data and identify each row with unique column (primary key).
 2 Nd normal form A table is in first normal form and each non-key
field is functionally dependent upon primary key.
 Now we'll take the table above and design new tables that will
eliminate the reputed date in non-key _field to decide what fields
belong together in a table, think about which field determines the
values in other fields.
 Create a table for those fields and enter the sample data.
 Think about what the primary key for each table would be and about
the relationship between the tables.
 Mark the primary key for each table and make sure that you do not
have repeated data in non-key fields.
 Third normal form (3NF) requires that there are no functional
dependencies of non-key attributes on something other than a
candidate key.
 A table is in 3NF if all of the non-primary-key attributes are mutually
independent. There should not be transitive defences.
1. First Normal Form –

If a relation contain composite or multi-valued attribute, it violates first


normal form or a relation is in first normal form if it does not contain
any composite or multi-valued attribute. A relation is in first normal
form if every attribute in that relation is singled valued attribute.
2. Second Normal Form –
To be in second normal form, a relation must be in first normal form and
relation must not contain any partial dependency. A relation is in 2NF if

17 | P a g e
it has No Partial Dependency, i.e., no non-prime attribute (attributes
which are not part of any candidate key) is dependent on any proper
subset of any candidate key of the table.

Partial Dependency – If the proper subset of candidate key determines


non-prime attribute, it is called partial dependency.
3. Third Normal Form –
A relation is in third normal form, if there is no transitive dependency for
non-prime attributes as well as it is in second normal form.
A relation is in 3NF if at least one of the following condition holds in every
non-trivial function dependency X –> Y

X is a super key.
Y is a prime attribute (each element of Y is part of some candidate key).
Boyce-Codd Normal Form (BCNF) –
A relation R is in BCNF if R is in Third Normal Form and for every FD, LHS is
super key. A relation is in BCNF iff in every non-trivial functional
dependency X –> Y, X is a super key.

Exercise 1: Find the highest normal form in R (A, B, C, D, E) under following


functional dependencies.

ABC --> D
CD --> AE
Important Points for solving above type of question.
1) It is always a good idea to start checking from BCNF, then 3 NF, and so
on.
2) If any functional dependency satisfied a normal form then there is no
need to check for lower normal form. For example, ABC –> D is in BCNF
(Note that ABC is a superkey), so no need to check this dependency for
lower normal forms.

Candidate keys in the given relation are {ABC, BCD}

BCNF: ABC -> D is in BCNF. Let us check CD -> AE, CD is not a super key so
this dependency is not in BCNF. So, R is not in BCNF.

3NF: ABC -> D we don’t need to check for this dependency as it already
satisfied BCNF. Let us consider CD -> AE. Since E is not a prime attribute,
so the relation is not in 3NF.

18 | P a g e
2NF: In 2NF, we need to check for partial dependency. CD is a proper
subset of a candidate key and it determines E, which is non-prime
attribute. So, given relation is also not in 2 NF. So, the highest normal
form is 1 NF.

6.0 SKILL DEVELOPED:


 We learn to take Responsibility.
 We learn leadership, means we lead and manage team
 Our teamwork skill is developed.
 Our interest is increase for the subject.
 We are also learn how to manage our time.
 Communication skill is developed.
 Our confidence is also increase.

7.0 AREA OF FUTURE IMPROVEMENT:


 The ability to make dicision will increase.
 Database Mangement has a wide career opportunity in sectors like
Database Administrator, Information Security Analyst, Market
Research Analyst, Software Developer.
 Knowledge will increase.
 We will understand how to create Tables and ER diagrams related
to microproject.

8.0 APPLICATION OF MICROPROJECT:


Railway Reservation System:

The database is required to keep record of ticket booking, train


departure, and arrival status. Also if trains get late then people get to
know it through database updates.

Library Management System:

19 | P a g e
There are thousands of books in the library so it is very difficult to
keep record of all the books in a copy or register. So DBMS is used to
maintain all the information related to book issuing dates, name of the
book, author, and availability of the book.

Banking:

We make thousands of transactions through banks daily and we


can this without going to the bank, so how banking has become so easy
that by sitting at home we can send or get money through banks. That
is all possible just because of DBMS that manages all the bank
transactions.

Universities and colleges:

Examinations are done online today and universities and colleges


maintain all these records through DBMS. Student’s registrations
details, results, courses, and grades all the information are stored in
the database.

Credit card transactions:

For purchase of credit cards and all the other transactions are
made possible only by DBMS. A credit cardholder knows the
importance of their information that all are secured through DBMS.

Social Media Sites:


We all are on social media websites to share our views and
connect with our friends. Daily millions of users signed up for these
social media accounts like Facebook, Twitter, Pinterest, and
Whatsapp. But how all the information of users is stored and how we
become able to connect to other people, yes this is all because of
DBMS.

Telecommunications:
Any telecommunication company cannot even think about its
business without DBMS. DBMS is a must for these companies to store
the call details and monthly post-paid bills.

20 | P a g e
9.0 Conclusion:

In conclusion, a database is a far more efficient mechanism to store


and organize data than spreadsheets; it allows for a centralized facility
that can easily be modified and quickly shared among multiple users.
Having a web based front end removes the requirement of users having
to understand and use a database directly, and allows users to connect
from anywhere with an internet connection and a basic web browser. It
also allows the possibility of queries to obtain information for various
surveys. Due to the number of users reading and modifying student data
in the department, it is an ideal use for such a system.

10.0 Reference:
https://www.cs.fsu.edu/~whalley/papers/wallen_project08.pdf
https://www.geeksforgeeks.org/application-of-dbms/
https://www.geeksforgeeks.org/introduction-of-dbms-
databasemanagementsystem-set-1/

21 | P a g e
22 | P a g e

You might also like