Assignment 3
Indenga Dortea,230050972
a) I)
ii)
iii)
b)
i) This statement joins employees and departments on employee_id,filters by department_name ‘’IT’’
and groups the result by first_name while computingthe average salary.
ii)
Add a new column named Age of type VARCHAR(30) to the employees table
iii)
-The employee_id cannot be null because it’s a primary key in the employee table.
Question 2
i)
ii)
iii)
iv
Question 3
Question 4
a)
b)