Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Develop the database system and Implement a query language, Study notes of Database Management Systems (DBMS)

P2 Develop the database system with evidence of user interface, output and data validations, and querying across multiple tables. P3 Implement a query language into the relational database system.

Typology: Study notes

2020/2021

Uploaded on 01/06/2022

simranjit-kaur-15
simranjit-kaur-15 🇮🇳

3.7

(3)

10 documents

1 / 10

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Database Assignment
GU-2020-10013
DATABASE (HND103)
HND COMPUTING
Assignment 2
Title: Developing and Testing of Relational Database System
LO2: Develop a fully functional relational database system, based on an
existing system design.
LO3: Test the system against user and system requirements.
Submitted By:
Simranjit Kaur
Page 1
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Develop the database system and Implement a query language and more Study notes Database Management Systems (DBMS) in PDF only on Docsity!

GU-2020-

DATABASE (HND103)

HND COMPUTING

Assignment 2

Title: Developing and Testing of Relational Database System

LO2: Develop a fully functional relational database system, based on an

existing system design.

LO3 : Test the system against user and system requirements.

Submitted By:

Simranjit Kaur

GU-2020-

P2: Develop the database system with evidence of user interface, output and

data validations, and querying across multiple tables.

Answer: Hospital management database system has the following entities with their

attributes.

Employee (Emp_id, Emp_name, Emp_position, Emp_salary)

Department (Dep_id, Dep_name, Emp_id)

Doctor (Doc_id, Doc_name, Doc_address, Doc_contactno, Doc_specialication, Emp_id)

Room (Room_id, Room_type, floorno)

Nurse (N_id, N_name, N_address, N_contactno, N_position, Room_id)

Patient (Pat_id, Pat_name, Pat_address, Pat_contactno, Pat_diagnosis, Apt_date, Apt_time,

Doc_id, Room_id)

1.1: Record of Employee

GU-2020-

1.3: Record of Doctor

GU-2020-

1.4: Record of Room

1.5: Record of Nurse

GU-2020-

a) List out the number of patients who have taken appointment with a psychiatrist.

a) List the patient name who is treated by doctor ‘Anurag Gupta’ and is in emergency.

c) List doctor names whose specialization is ‘Cardiologist’.

d) List the nurse names along with their allocated rooms.

Answer: a) Number of patients who have taken appointment with a psychiatrist.

b) Patient name who is treated by doctor ‘Anurag Gupta’ and is in emergency.

GU-2020-

c) Doctor names whose specialization is ‘Cardiologist’.

d) Nurse names along with their allocated rooms.

GU-2020-

Page 10