DBMS COC Examination
DBMS COC Examination
Department:
Employee:
Training:
4. Make DeptID primary key for Department table, EmpID primary key for Employee ,TrainingID is the primary key
for Training tables and create the relationship between three tables as follows
EmpID
Fname
EmpID Lname
TrainingID Sex
Title BirthDate
InstName HireDate
Duration Salary
DeptID
Dept ID
5. Insert the following record in to Department table Dept Name
DeptID=0118 Deptname=Marketting
6. Retrieve EmpID, Fname, Lname and department Name of employees and save it with “Employee” in my
documents folder.
7. Increament salaries of employees with 20% and save it with “Increment” in my documents folder.
8. Display sum of salary of employees for each department and save it as “Salary” in my documents folder.
9. Backup HRM database and save it in my documents folder.
10. Delete employee’s record of employees whose first name is “Zelalem”.