DBMS Final Microproject
DBMS Final Microproject
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
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.
2|Page
DECLARATION
3|Page
ACKNOWLEDGEMENTS
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
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:
Book Reference.
Get the information about the topic on internet and other sources.
7|Page
2.0 ACTION PLAN:
8|Page
3.0 RESOURCES USED:
1 1. Laptop 1. ACER 2
2 Mobile 2. Realme
2 Internet www.google.com 1
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
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
Example:
11 | P a g e
Table 2: Employee Table
Fieldname Description Type Length
Example:
12 | P a g e
Table 3: Product Table
Example:
13 | P a g e
Table 4: Sales Table
Fieldname Description Type Length
Example:
14 | P a g e
Table 5: Payment Table
Fieldname Description Type Length
Example:
15 | P a g e
5.0 Entity Relationship Diagram:
16 | P a g e
NORAMALIZATION OF TABLE
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.
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.
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.
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.
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:
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.
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:
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