Professional Documents
Culture Documents
Mysqlprg
Mysqlprg
Objective:
Apparatus Required:
Procedure:
use employees;
Result:
Exercise 2
Objective:
Empno int(5) primary key, Ename char(20),Gender char(1), Job char(10), Salary
char(10),Comm. int(5), Deptno int(3).
Apparatus Required:
Procedure:
Desc Employee;
Result:
The table is create successfully created and add 10 records to that table.
Exercise 3
Objective:
Apparatus Required:
Procedure:
Result:
Exercise 4
Objective:
Procedure:
Result:
Exercise 5
Objective:
Apparatus Required:
Procedure:
Result:
Exercise 6
Objective:
1. Display the details of employees who have salary greater than 20000.
2. Display the name of the clerk employees , salary greater than 24000.
3. List the employees who work as Peon or Manager.
4. List the names of candidate who are not in Deptno 10.
Apparatus Required:
Result:
Exercise 7
Objective:
Apparatus Required:
Procedure:
Result:
Exercise 8
Objective:
Apparatus Required:
Procedure:
Result: