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

Exercise 1. You Have Been Given A Form Which Shows The Details of Technical Jobs Carried Out

The document describes a form used to register counseling sessions at a counseling center. It includes fields for the counseling code, counselor name, counseling start time, client gender and age, test results, diagnosis, service type, counselor name, and counseling date range. The task is to design a relational database to store the information from this form, specifying the entities, attributes, primary keys, foreign keys, and normalization steps to third normal form.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
146 views

Exercise 1. You Have Been Given A Form Which Shows The Details of Technical Jobs Carried Out

The document describes a form used to register counseling sessions at a counseling center. It includes fields for the counseling code, counselor name, counseling start time, client gender and age, test results, diagnosis, service type, counselor name, and counseling date range. The task is to design a relational database to store the information from this form, specifying the entities, attributes, primary keys, foreign keys, and normalization steps to third normal form.
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Exercise 1.

You have been given a form which shows the details of technical jobs carried out
for different schools by members of staff in the local college. You will note that one job may
require input from more than one member of staff. Each member of staff belongs to a department
within the college and the number of hours worked on each job along with the date the job was
undertaken are noted. A member of staff may work on more than one job on any given date.

The college would like to set up a relational database to manage the allocation of staff to jobs
and keep a more efficient record of the number of hours worked for each school within the
college.

Your task is making the database to 3NF (specify step by step: determine FDs, normalization,..).

TechNo TechName DeptId Department JobNo Date SchoolID School Hoursworked

298 Walls, Ian 1 Engineering 1002 12/9/07 192 Beauty 2.5

298 Walls, Ian 1 Engineering 1003 12/9/07 125 Computing 5.5

345 Smith, Alan 2 Helpdesk 1002 12/9/07 192 Beauty 3

345 Smith, Alan 2 Helpdesk 3440 18/9/07 346 Bus & Man 1.5

345 Smith, Alan 2 Helpdesk 1480 15/9/07 192 Beauty 3

380 Jackson, 3 Labs 3670 19/9/07 560 Design 4


Bob

380 Jackson, 3 Labs 3440 18/9/07 346 Bus & Man 2


Bob

300 Jones, Joe 2 Helpdesk 1450 15/9/07 125 Computing 1

300 Jones, Joe 2 Helpdesk 1480 15/9/07 192 Beauty 3

320 Young, Jill 3 Labs 3440 18/9/07 346 Bus & Man 4

320 Young, Jill 3 Labs 1002 12/9/07 192 Beauty 2.5

320 Young, Jill 3 Labs 3670 19/9/07 560 Design 2


Exercise 2. Based on the form below, design a database suitable for storing information.

(Tên cơ sở tư vấn)

(Mã số:….)

Sổ đăng ký tư vấn

Từ ngày …../…../…… đến ngày ……/……./………

Giờ Xét Kết quả xét Mã


Mã bắt Giới nghiệm nghiệm Dịch Tên tư
S đối Tên Giờ đầu Kh Dươ vụ tư vấn
T Ng tượ đối đăng tư Tu Na ôn ng Âm giới vấn viê
T ày ng tượng ký vấn ổi m Nữ Có g tính tính thiệu viên n

                               

                               

                               

                               

                               

                               

Mã dịch vụ


giới thiệu:
0 - Không 1 - Chăm sóc 2 - Chăm sóc 3 - Chăm 4 - Dự phòng lây nhiễm
giới thiệu điều trị ST1 sóc lao mẹ sang con
5- 6 - Chăm sóc 7 - Tiếp cận cộng 8 - Nhóm
KHHGD y tế khác đồng hỗ trợ 9 - Cai nghiện

You might also like