Lab 6
Lab 6
Database
LAB # 06
PRESENTED BY:
PRESENTED TO:
2. Create a query to display the employee name and department number of for
employee number 7900.
3. Display the employee name and salary for all employees whose salary is not
in the range of $500 and $1200.
4. Display the employee name, job, start date of employees hired between 20
February 1981 and May 1, 1982. Order the query in ascending order by start
date.
7. Display the employee name and hire date of every employee who was hired
in 1982.
8. Display the employee name and job title of all employees who do not have a
manager.
9. Display the last name, salary, and commission for all employees who earn
commissions. Sort data in descending order of salary and commissions.
10.Display all employee names of all employees where the third letter of the
name is ‘a’.
11.Display the employee name of all employees who have an ‘a’ and ‘e’ in their
name.
12.Display the employee name, job and salary for employees whose job title is
entered by the user and whose salary is not equal to $1000, $1200, $1800.
Also sort the data according to the column name entered by the user.
13.Display the employee name, salary, and commissions for all employees
whose commission amount is 20%.
14.Display the employee name, salary of all employees whose condition of
salary is entered by user. Sort the data in descending order according to the
salary.