0% found this document useful (0 votes)
24 views

Dbms Project y

The document describes a micro project report submitted by four students for their Database Management Systems course. The project aims to normalize a bank database up to the third normal form. It includes an action plan with timelines and assigned team members for tasks such as selecting a topic, collecting information, arranging the report, and printing the final micro project. The report is certified by the subject teacher, head of department, and principal of the students' polytechnic institute.

Uploaded by

sachin8010230931
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
0% found this document useful (0 votes)
24 views

Dbms Project y

The document describes a micro project report submitted by four students for their Database Management Systems course. The project aims to normalize a bank database up to the third normal form. It includes an action plan with timelines and assigned team members for tasks such as selecting a topic, collecting information, arranging the report, and printing the final micro project. The report is certified by the subject teacher, head of department, and principal of the students' polytechnic institute.

Uploaded by

sachin8010230931
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/ 10

Shrikrishna Educational and Cultural Mandal’s

SHRI GULABRAO DEOKAR POLYTECHNIC,


Gat No. 26, Mohadi Shivar, Shirsoli Road
JALGAON – 425002 (M.S.)

A micro project report


On

NORMALIZE THE DATABASE OF BANK UPTO 3NF

Is submitted as per I Scheme Curriculum and the requirement for the


Program: Diploma in Computer Engg.

Course : Database Management System(22318)


Group Members :

49. VAIBHAV RAJU KOLI. ( )


50. YASH DHANRAJ THAKUR. ( )
51. PATEL ANAS JAHANGEER. ( )
52. SAYYED MOHAMMD RAYYAN SAJID ALI. ( )

Guided by

Akshay Mungad

Affiliated to
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI – 51
Academic year : 2023-2024

1
MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION,
MUMBAI – 51

CERTIFICATE
This is to certify that Mr. / Ms________________________________________________________
Roll No:____________ of First Semester Of Diploma in _________________________ Engg
of Institute SHRI GULABRAO DEOKAR POLYTECHNIC, JALGAON ( Institute Code
: (0509) has completed the micro project satisfactorily in the Subject:- Database
Management System (22319) for the academic year 2023 to 2024 as prescribed in
the curriculum.

Place : Jalgaon Enrollment no______________

Date:_____________ Exam Seat no_______________

Subject Teacher Head of Department Principal


Signature Signature Signature

2
0.4 Action Plan
Plan Plan
Name of responsible team
Sr.no Detail of activity Start Finish
members
Date Date

49. VAIBHAV RAJU KOLI


Searching the topic for 20/08/23 27/08/23 50. THAKUR YASH DHANRAJ
1.
micro-project

Collect information 49. VAIBHAV RAJU KOLI


2. from the internet and 04/09/23 11/09/23 50. THAKUR YASH DHANRAJ
textbook

Collect information 49. VAIBHAV RAJU KOLI


from the DBMS(22319) 50. THAKUR YASH DHANRAJ
3. 18/09/23 25/09/23
reference book, and
debugged the errors.

49. VAIBHAV RAJU KOLI


Arrange all information 50. THAKUR YASH DHANRAJ
4. 25/09/23 30/09/23
in MS word

49. VAIBHAV RAJU KOLI


Prepare a report on it 50. THAKUR YASH DHANRAJ
5. 07/09/23 14/09/23
using MS word

51. PATEL ANAS JAHANGEER

6. Print micro project 21/09/23 27/09/23 52. SAYYED MOHAMMD RAYYAN SAJID ALI

3
INTRODUCTION

This ER (ENTITY RELATIONSHIP) Diagram represents the model of Hospital


Management System Entity. The entity-relationship diagram of Hospital
Management System shows all the visual instrument of database tables and the
relations between Patient,

Nurses, Hospitals, Medicines etc. It used structure data and to define the
relationships between structured data groups of Hospital Management System
functionalities. The main entities of the Hospitals, Patient,Doctors, Nurses,
Appointments and Medicines.

A database management system (DBMS) refers to the technology for creating


and managing databases .Basically DBMS is a software tool to organize (create,
retrieve, update and manage) data in a database. The main aim of a DBMS is to
supply a way to store up and retrieve database information that is both
convenient and efficient. By data, we mean known facts that can be recorded
and that have embedded meaning. Normally people use software such as DBASE
IV or V, Microsoft ACCESS, or EXCEL to store data in the form of database.
Database systems are meant to handle large collection of information.
Management of data involves both defining structures for storage of
information and providing mechanisms that can do the manipulation of those
stored information. Moreover, the database system must ensure the safety of
the information stored, despite system crashes or attempts at unauthorized
access. This project is aim at computerizing the manual process of wedding
system. Frontend and backend are implemented using HTML and MySQL
respectively. Along with the JSP program to analyse the program.

Applications of DBMS
1. The development of computer graphics has been driven both by the needs
of the user community and by the advances in hardware and software. The
applications of database are many and varied; it can be divided into four
major Hierarchical and network system.
2. Flexibility with relational database.
3. Object oriented application.
4. Interchanging the data on the web for e-commerce.

4
What is MySQL?
MySQL is multithreaded, multi user SQL database management System(DBMS).
The basic program run as server providing multiuser access to a number
of databases. The project’s source code is available under terms of the GNU
General
Public Licence, as well as under a variety of property arguments. MySQL is a
database. The data in a MySQL is stored in a Database objects called tables. A
table is a collection of related data entries and it consists of columns and rows.
Thedatabases are useful when storing information categorically.

MySQL is a central components of the LAMP open source web application


software stack (and other “AMP” stacks). LAMP is an acronym
for
Linux, Apache, MySQL, Perl/PHP/ Python. Application that use the MySQL
database includeTYP03, MODx, Joomla, WordPress, PHPBB, MyBB and Drupal
.MySQL is alsoused in many high profile, large scale web sites, including
Google(Though not forthe searches).

MySQL Command Syntax

As you might have observed from the simple program in the previous section,
MySQL uses mainly uses six commands in which SELECT is used to retrieve rows
selected from one or more tables. FROM refers to the table from which we need
to select the attributes. WHERE clause, if given, indicates condition or conditions
that rows must satisfy to be selected. where_ condition is expression that
evaluates to true for each row to be selected. This statement selects all rows if
there is no where clause. GROUP BY clause used to group the values of the
attributes provided that values must be same. HAVING clause is applied nearly
last, just before items are sent to the client, with no optimization. If the HAVING
clause refers to a column that is ambiguous, warning occurs. ORDER BY clause is
used for the purpose of sorting the values of the attributes in a result. If you use
GROUPBY ,output rows are sorted according to GROUP BY columns as if you had
an ORDER BY for the same columns.

MySQL-related Libraries

The MySQL PHP extensions are lightweight wrappes on top of a C client


library.The extensions can either use the mysql and library or lib my sql client
library. Choosing a library is a compile time decision. The my sql and library is
part of the PHP distribution since 5.3.0. It offers features like lazy connections

5
and query caching, features that are not available with the lib my sql client, so
using the built in library is highly recommended. It is recommended to use the
my sql and library instead of the my sql client server. Both libraries are
supported and constantly being improved.

6
STEP 2 :-Converting the ER-Diagram into Tables.
Converting entity to tables and attributes to columns.

❖ HOSPITAL

Hosp-Id Primary Key


HCity
HAddress
Hos-Name
Pat-Id Foreign Key refrences to Pat-Id of Patient Table
Doc-Id Foreign Key refrences to Doc-Id of Doctor Table

7
Patient :-
Pat-Id Primary key
Medical
Report
PName

PAddress

PDiagnosis

Foreign key refrences to record-id of Medical Record


Record-Id
Table.

Hosp-Id Foreign key refrences to hosp-id of Hospital tables.

Doctor :-

Doc-Id Primary key

DName

Qualification

Salary

Hosp-Id Foreign key refrences to hosp-id of Hospital tables.

8
Step 3: Mapping of Attributes
• Simple Attributes
Simple Attributes which can not be divided into subparts.
Example: Salary of Doctor

Composite Attributes
Composite attributes which can be divided into subparts
Example: Patient name ,doctor name

STEP 4: Mapping of Relationship


B: Foreign key approach
Hosp_patient

Pat-id Hospital table makes foreign key refrences to Pat-id of patient table

Hosp-id Patient table makes foreign key refrences to Hosp-id of Hospital table

Hosp_Doctor

Hosp-id Doctor table makes foreign key refrences to Hosp-id of Hospital table

Doc-id Hospital takes makes foreign key refrences to Doc-id of Doctor table

9
Hosp-id Doctor table makes foreign key refrences to Hosp-id of Hospital table

Patient_MedicalRecord

Pat-id Medical table makes foreign key refrences to Pat-id of Patient table

Record-id Hospital takes makes foreign key refrences to Doc-id of Doctor table

step 5: Identifying the relationships

a. Hospital has a set of patients.


Therefore the relations is 1.........N.
b. Hospital has a set of doctors.
Therefore the relations is 1.........N.
c. Doctor are associated with each patient.
Therefore the relations is N........1..
d. Each patient has record of various test and examination conducted.
Therefore the relations is 1........N.

Conclusion

We can represent a database that conforms to an E-R database schema by a collection


of tables. For each entity set and for each relationship set in database, there is a unique
table to which we can assign the name of the corresponding entity set and relationship
set. Each table has multiple columns, each of which has a unique name. Both the E-R
model and the relational-database model are abstract, logical representations of real-
world enterprises. Because the two models employ similar design principles, we can
convert an E-R design into a relational design. Converting a database representation
from an E-R diagram to a table format is the way we arrive at a relational-database
design from an E-R diagram. Informally, a relation can be considered to be a table of
values.

10

You might also like