You are on page 1of 7

problem

We wish to create a database for a company that runs training courses. For
this, we must store data about the trainees and the instructors. For each
course participant,
` we want to store his/her social security number, name
(first, middle, surname), age, place of birth, address and telephone
number(s). Each course has a code and a title as compound keys and any
course can be given any number of times. Each time a particular course is
given, we will call it an ‘edition’ of the course. For each edition, we
represent the start date, the end date, and the number of participants.
If a trainee is self-employed, we need to know his/her area of
expertise, and, if appropriate, his/her title. For somebody who works
for a company, we store the level and position held. For each
instructor, we will show the surname, age, place of birth, the edition of
the course taught, those taught in the past and the courses that the
tutor is qualified to teach. All the instructors’ telephone numbers are
also stored. An instructor can be permanently employed by the
training company or freelance.
Entities
Course
participant Code
his/her social security number (SSN), Title
name (first, middle, surname)
age Instructor
place of birth Surname
Address age
telephone number(s) place of birth
telephone
first middle surname age place
code title
SSN address

participant course
Tel.

age place
surname
Tel.
title s_date
e_date Instructor
code

N_part.
EDition
Subclass Super class

participant

self-employed
Company working
Relations
participant course
N
1
Register
in HAS

M M
edition
M
Teach
N
instructor
first middle surname age place

age place
SSN address surname
Tel.
participant
Tel. Instructor
1

M
code title
Register Teach
in N
course
1

M EDition
HAS d
N_part.
e_date
code title s_date
self-
Company employ
working ed
‫الرسم النهائي‬
M

You might also like