Académique Documents
Professionnel Documents
Culture Documents
Level –1
1)Write a query to list all the employees who are working as clerk
4) Write a query o list the employees who are having experience more
than 4 years
5) Write a query to list the employees who hired in the last seven days
6) Write a query to list the employees whose salaries are within the
range of 5000 and 10000
7) Write a query to list the employees who have joined in the month of
March’99
8) Write a query to list the employees whose salaries are not within
the range of 10000 and 13000
10) Query to list all employees except who are joined on 11- Sep-2001,
31-Mar-2001 and 30-Jan-2001(It also compares time).
11) To list all the employees whose names are having ‘O’ as second
character
12) To list all the employees whose names are having ‘R’ as last
character
13) To list all the employees whose names are having just 5 characters
as length.
14) To list all the employees whose names are starting with ‘R’ and
ending with ‘O’
Level –2
2.Display the half of the ename's in upper case and the remaining in
lower case?
3.Use the variable in a statement which finds all employees who can
earn $30,000 a year of more?
4.Find out how many managers are there without listing them?
5.Find out the average salary and average total remuneration for each
job type remember salesman earn comm?
6.Find out the job that was filled in the first half of 1983 and same
job that was filled during the same period on 1984?
7.Findout all the employees who joined the company before their manager?
8.List out all the employees by name and number along with their
managers name and number, also display KING who has no manager?
9.Find out the employees who earn the highest salary in each job type.
Sort in descending sal order?
10.Find out the most recently hired employees in each department. Order
by hiredate?
11.Display ename salary and deptno for each employee who earn a salary
greater than the average for their department order by deptno?
16.Display employees who can earn more than lowest salary in department
30?
17.Find employees who can earn more than every employee in department
30?
20.List lowest paid employees working for each manager? Exclude any
groups where the minimum salary is less than 1000 sort the output by
salary?
21.Delete those records from emp table whose deptno not available in
dept table?
29.Display those emp who joined the company before 15th of the month?
30.Delete those emp who joined company of 10years back from today?