You are on page 1of 5

DATABASE MANAGEMENT SYSTEM

LAB # 01
Name Enrollment
Section Date

1. List all information of ‘Emp’ and ‘Dept’ tables.


Soluton:
2. List the empno,ename,jobtitle,and hiredate of employee from the employee table.
Solution:

3. List the name,salary of the employees who are clerks.


Solution:

4. List the name,job,salary of every employee joined on ‘december 17,1980’,


Solution:
5. List name and annual salary of all the employees.
Solution:

6. List the department name & deptno for departments having deptno.>=20
Solution:

7. Display employees’ names, salary and manager values of those employees whose
salary is 500 from EMP table using SELECT statement.
Solution:
8. Select dname from DEPT table where location is Islamabad.
Solution:

9. Increment the salary of each employee 10 times and then display the annual salary
along with emp#, employee names and dept# from EMP table.
Solution:

10.List the employees who have salary between 1000&2000.


Solution:
11.List the name,salary,commision of the employees where commision is greater than
their salary.
Solution:

12.List the name and empno of managers who earn more than 2000.display the result
in alphabetical order of the name.
Solution:

s
13.List the details of the employees in the depts of 10 & 20 in the order of empno.
Solution:

You might also like