Professional Documents
Culture Documents
Database Administration Level - 3 Practical Exam Level 3: Filed Name Data Type Size
Database Administration Level - 3 Practical Exam Level 3: Filed Name Data Type Size
Database Administration Level - 3 Practical Exam Level 3: Filed Name Data Type Size
1. Create a data base named HRM using SQL server 2000 enterprise manager
2. Create the following tables in HRM data base by using the following information
Table 1: Department
Table 2: Employee
EMP ID Char 50
F name Char 50
L name Char 50
Sex Char 10
Salary numeric
Dep ID Char 10
1. Set DEP id for department EMP ID Employee training ID fortraining table as key
2. Create a relationship the 3 tables
Emp idF name
L nameSex
Dep id DCBSalary
Dep ID
Dep name
Emp ID
Training ID
Title
INS name
Duration
1. Insert the following record in to department table by using query analyze Dept id
0116 Dep name =marketing
2. Write SQL statement that displays records that containing Emp ID ,first name ,last
name and department name and save it by name Employs for each dept and save it
by the name salary in my document folder
3. Write SQL statement that displays the total salary of employees by for each dept
and save it by the name salary in my document folder
4. Write SQL statement that increases the salary of employs by 20% and save it by
name increment in my document
5. Write SQL that delete the record that contain zelalme from employee table and
save it by the name zelalme in my documents folder
6. Take backup HRM data base and save the backup in the MY document s folder.
ORAL QUESTION