Professional Documents
Culture Documents
(etu)
INDIVIDUAL ASSIGNMENT
Department of ict
1. Abinet Debele……………………………TTR/0111/12
Q1. Write at least three areas that familiar where data base system can be applied.
Answer
Data bases are used just about every where including banks, hospital, Education sector
Banks use data bases to keep track of customer accounts, balances and deposits.
For customer information, account activities, payments,
a. Banking
deposits, loans, etc.
Hospital database systems now provide multifaceted support for the diagnosis, treatment and
On a hospital database every process and all data are safely recorded and stored.
Examination, medication, surgery and hospitalization reports and all the health institution’s
records are kept together with the finest detail about patients, and the patient is asked to re-
enter each time on his / her application.
Personal information (Name / Sur name, Birth Place / Date, Blood Group etc.) and contact
information are stored safely. Each transaction is stored securely in the database and can be
queried separately. With parametric query screens and search forms, search options are
offered via multiple options (Name, Gender etc.). The user-friendly, flexible and convenient
search interface provides fast and easy access to information (existek.com).
Q2 . From the three areas that selected one and prepare a conceptual design of it.
Answer
Conceptual design is the first stage in the database design process. The output of this
process is a conceptual data model that describes the main data entities, attributes,
relationships, and constraints of a given problem domain. This design is descriptive and
narrative in form.
The project hospital management system (HMS) is for computerizing the working in a
hospital. the soft ware takes care of all the requirements of an average hospital and is
capable to provide easy and effective storage of information related to patients that come up
to the hospital.
Its generates test reports; provide prescription details including various tests, check up and
medicines prescribed to patient and doctor. it also provides injections details and billing
facility.
the system also provide the facility of backup as per the requirement.
Pk= primary key
What is a Candidate Key?
CANDIDATE KEY in SQL is a set of attributes that uniquely identify tuples in a table. Candidate Key is a
super key with no repeated attributes. The Primary key should be selected from the candidate keys. Every
table must have at least a single candidate key. A table can have multiple candidate keys but only a single
primary key.
Candidate key Example: In the given table Stud ID, Roll No, and email are candidate keys which help us to
uniquely identify the student record in the table.
002
nimonia
pr
nimonia
What is the Composite key?
COMPOSITE KEY is a combination of two or more columns that uniquely identify rows in a table. The
combination of columns guarantees uniqueness, though individually uniqueness is not guaranteed. Hence,
they are combined to uniquely identify records in a table.
The difference between compound and the composite key is that any part of the compound key can be a
foreign key, but the composite key may or may be not a part of the foreign key.
Patient id P-Name Address Sex P-Date of birth P-diagnoses P-telephone Email Address
no
002
nimonia
Examples of Composite Key