Learning Goal: I’m working on a mysql question and need support to help me learn.

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.

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.

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

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

c) Draw the ER diagram

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

Schema Name Schema Attribute Key

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

Schema Name Schema Attribute Key

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

g) Insert at least five rows into each table.

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.