You are on page 1of 7

MICROPROJECT REPORT

PRINCIPLES OF DATABASESYSTEM

PHARMACY DATABASE

1.0RATIONALE:
While using DBMS, the data in this Pharmacy Database is independent. It removes
duplication of data. Easy to update, insert & delete data of Pharmacy Details. Data is secure
by using DBMS.
2.0 AIMS AND BENEFITS OF THE MICROPROJECT:
Developed a Database for Pharmacy. Our main aim of the project is to create the database
of the Pharmacy and maintain the record of the Pharmacy Details. It is simpler to access the
information & also helps to make work more efficiently.
3.0 COURSE OUTCOMES ADDRESSES:
1) Use fundamental concepts of database system.
2) Choose relevant data models to solve the problem.
3) To develop relational database using entity relationship.
4) To apply constraints for data integrity in Relational Database Management System.
5) To apply data normalization technique in a database.

4.0 ACTUAL METHODOLOGY FOLLOWED:

First, we have to identify entities and attributes.


ENITY
Entity can be a real-world object either animate or inanimate, that can be easily identifiable.
Example: In a school database, student, teachers, classes and courses offered can be
considered as attributes.
ATTRIBUTE
Properties of the entities are represented by attributes. All attributes have the same values.
Example: A student entity may have stid, stname, and staddress as their attribute.

1
ER-DIAGRAM:

SCHEMA DIAGRAM:

Stock Category Medicine Order Customer


Stock id medicine id Order id Customer id
stock name medicine name quantity customer name
stock price manufacture payment customer contact
data number
stock quantity medicine id
stock id
customer id

2
DESIGN VIEW OF STOCK CATEGORY:

DATASHEET VIEW OF STOCK CATEGORY:

3
DESIGN VIEW OF MEDICINE:

DATASHEET VIEW OF MEDICINE:

4
DESIGN VIEW OF ORDER:

DATASHEET VIEW OF ORDER:

5
DESIGN VIEW OF CUSTOMER:

DATASHEET VIEW OFCUSTOMER:

Normalization:
1 NF: A relation is in 1NF if it contains an atomic value.
2 NF: An entity type is in 2NF when it is in 1NF and when all of its non-key attributes are
fully dependent on its primary key.
3 NF: An entity type is in 3NF when it is in 2NF and when all of its attributes are directly
dependent on the primary key.
WE HAVE DERIVED NORMALIZATION PROCESS UPTO 3 NF.
6
5.0 Actual Resources Used
s no Name or resources Specification Qty Remarks
1 Ms- Acess 1
2 Microsoft Word 1

6.0 OUTPUT OF MICROPROJECT

RELATIONSHIPS:
A relationship in the context of database is a situation that exists between two relational
database labels when one table has a foreign key that references the primary key of the
other table. Relationships allow relational databases to split and store data in different
tables while
Linking disparate data items.

8.0 Skill Developed/ Learning Outcome of the Micro-project

We have learned to create a database using various attributes, entity. We are able to apply
relationships
9.0 Application of this microproject
This Database can be implied to a Pharmacy store. It can handle, independent records of
customers and medicines and this database makes it easy to retrieve and update data.

You might also like