Professional Documents
Culture Documents
Ish116 February 2024 Assignment
Ish116 February 2024 Assignment
Ish116 February 2024 Assignment
INSTRUCTIONS TO CANDIDATES:
1. Answer all questions.
2. Start each answer on a fresh page.
QUESTION 1
a) A sports club runs a number of teams. Each team is made up of a number of players of
the club and each player may play for more than one team. Each team has a number of
coaches, but the coach’s job is so time consuming that each coach can only coach one
team. For each team, team number, name, and address are stored. Each player’s ID
number, Name, DOB, and phone number are stored. A coach’s ID number, Name,
Address, phone number are also kept. Represent the above information on an entity
relation (ER) diagram, in 3rd normal form, underlining the primary key for each entity.
[11 marks]
QUESTION 2
Study the following database table that stores student records and answer the questions that
follow.
EmployeeID First_Name Last_Name Department Gender D_O_B
22-230702F56 Sue Manake Acc & IS Female 21/04/1994
83-270902T83 Jerry Peters Economics Male 10/06/1990
07-160935B07 Solomon Mutasa Acc & IS Male 14/02/1996
63-457602A52 Celine Taven Management Female 19/11/1998
Write SQL statements to do the following:
i. To display the details of only male employees in the Acc & IS department
[2marks]
ii. Get list all employees born after the year 1992. [2 marks]