DBProject.pdf

College of Computing and Informatics

Project Deadline: Wednesday 07/06/2023@

23:59

[Total Mark for this Project is 14]

Instructions:

• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on

Blackboard via the allocated folder. These files must not be in compressed format.

• It is your responsibility to check and make sure that you have uploaded both the correct files.

• Zero mark will be given if you try to bypass the SafeAssign (e.g., misspell words, remove spaces between

words, hide characters, use different character sets, convert text into image or languages other than English

or any kind of manipulation).

• Email submission will not be accepted.

• You are advised to make your work clear and well-presented. This includes filling your information on the cover

page.

• You must use this template, failing which will result in zero mark.

• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by

the question.

• Late submission will result in ZERO mark.

• The work should be your own, copying from students or other resources will result in ZERO mark.

• Use Times New Roman font for all your answers.

Stuent Details: Name: Name: Name:

ID: ID: ID:

22 05

Pg. 01

Project Instructions

Project Instructions

• You can work on this project as a group (minimum 3 and maximum 4 students).

Each group member must submit the project individually with all group member

names mentioned in the cover page.

• This project worth 14 marks and will be distributed as in the following:

a) Identify the entity types, attributes, keys. (2 marks)

b) Identify the relationship and cardinalities. (2 marks)

c) Draw the ERD. (2 marks)

d) Schemas before Normalization. (1.5 marks)

e) Schemas after Normalization. (1.5 marks)

f) Create the tables. (1.5 marks)

g) Populate your tables with at least 5 rows. (1.5 marks)

h) Execute the requested sample queries. (2 marks)

• Each student must submit one report about his/her chosen Project via the Blackboard

(Email submission will not be accepted which will be awarded ZERO marks)

• Screenshots for answering SQL questions (f, g, and h).

• You are advised to make your work clear and well presented; marks may be reduced

for poor presentation. This includes filling your information on the cover page.

• You MUST show all your work, and text must not be converted into an image, unless

specified otherwise by the question.

A) Late submission will result in ZERO marks being awarded.

B) The work should be your own, copying from students or other resources will

result in ZERO marks.

Pg. 02

Training Management Database System

Training Management Database System

A training providing institute is offering training courses to their clients. A

database system is needed to register the trainees in these courses. The data

requirements for the system are given as follows:

• The company has many teachers. Each teacher has a unique id, name, date of

birth, address (house number, street name, city, state), and may have several

phone numbers.

o A teacher may teach many courses.

o We keep track of the number that a teacher has taught a course.

• The institute offers many courses to their clients. Each course has unique id,

course name, start date, end date, and course language.

o The course language is either English or Arabic.

o We keep track of the fee of each offered course.

o One or more courses is offered to a client.

• There are many clients. Each client is identified by unique id, client name,

address, contact person, and contact person name.

• Trainees works for a client. Each trainee has a trainee id, first name, last name,

and a phone number.

o Trainees may take several courses.

o We keep track of the fee of the taken course by a trainee.

Learning

Outcome(s):

LO 4

Design a

database starting

from the

conceptual

design to the

implementation

of database

schemas.

LO 3

Create Entity-

Relationship

model, Relational

model, and write

SQL queries.

Pg. 03

Training Management Database System

Training Management Database System

a) Fill the table below with all the Entities based on the given requirements:

Entity Type Attributes of the Entity Key

Pg. 04

Training Management Database System

b) Fill the table below with all the relationship type based on the given requirements.

Relationship Type

Entities connected by the relationship type

Cardinality Relationship attribute

Pg. 05

Training Management Database System

c) Draw the ER diagram

Pg. 06

Training Management Database System

d) Fill the table below with all schemas before normalization.

Schema Name Schema Attribute Key

Pg. 07

Training Management Database System

e) Fill the table below with all schemas after normalization up to the 4NF.

Schema Name Schema Attribute Key

Pg. 08

Training Management Database System

f) Write the necessary SQL statements to create the tables.

Pg. 09

Training Management Database System

g) Insert at least five rows into each table.

Pg. 10

Training Management Database System

h) Write SQL queries to find the following:

1) List of teachers who taught “MS Word” at least 2 times.

2) List all the course ids and names given since 1/1/2018.

3) List all the trainees who has taken “MS Word” and works for “Saudi

Electronic University”.

4) Find all the clients who has taken “MS Excel” course.

5) Find all the clients who have taken “MS Excel” and “MS Word”.

  • Project Instructions
  • Training Management Database System
  • Training Management Database System
Our customer support team is here to answer your questions. Ask us anything!