Operator Quires Ass
Operator Quires Ass
1) WQD employee name, salary, manger number only for those who ARE
eraning salary more then 500rs.
3) WQD employee details, annual salary only for those who are working in
a department number 10.
9) wqd employee details only those who are hired before 01-may-1981 and
they should be working as salesman,analyst and display o/p in desc order
based on empno.
10) wqd employee details only those who are hired after 20-feb-1981
and they should be earning salary less than 3000 and they commision
should be more than 100
11) wqd employee details only those who are earning salary less than
3000 and they should be hired before 22-feb-1981 And there dept no
should be 10,20,30 and display the o/p in desc order based on the salary.
12) wqd employee details those who are earning salary in a range of
1000 to 5000 and those should be working as manager,salesman,analyst
13) wqd employee details those who are hired on feb -81.
14) WQD regions details only the region name should consist of ‘a’ character.
15) WQD country name, region id for the country id ‘IN’,’US’ and country name should
consist of two ‘L’ .
16) WQD location details for country id beginning second character should be ‘N’ and
street address beginning with number ‘2’ and postal code be more than 1000.
17) WQD country details only country id should be exactly two character and the country
name should be ‘japan’, ’India’, ’Italy’.
18) WQD location details only the postal code should be exactly 4digit and the location id
should be in a range of 1800 to 2600.
19) WQD street address only the for the city ‘Sydney’, ’Bombay’ ,’Roam’ and street
address should consist of ‘rd’ as substring.
20) WQD city name, country id, postal code except city ‘Tokyo’ and postal code in a
range of 1000 and 5000,street address should be consist of two consecutive ‘a’.
21) WQD location details for the location id1600,1500,1700 and country id should be ‘us’
and Postal code should be exactly 5digit.
22) WQD location details only state province should consist of ‘maha’ as substring, city
name should consist of beginning third character ‘m’ and postal code should be in a
range of 3000 to 6000
23) List all the department names which are having blank space in their location and
having Dname with at least two EE's
24) Display all the employees who are having at least two AA's in their job description
and salary in the range 1200 to 2800 in dept 10,20,30.
26) Display all the employees who aren't having any reporting manager with number
ending with '8' and not working as 'MANAGER' or 'SALESMAN' in dept 30.
27) List all the employees who are not getting any commission with their designation
neither 'CLERK' nor 'MANAGER' and joined in the year 81 and getting salary more
than 1500.
28) List all the employees whose name is having at least FIVE characters and joined in
the year 80 or 81 and having a reporting manager with salary in the range 800 to
2000 in dept 30 or 40.
29) Display all the employees whose name is having exactly 5 characters and having
vowel as middle character
30) Display all the employee name who don't have commission and working in
department 10,20.
34) Display all the employees who's job name end with second character E
35) List all the employee whose department is not 20 and name don't have 'M' as first
letter.
36) Display all the employees having greater than 1000 who joined in the month of
December and who are having reporting manager.
37) Display all the employees who have the at least minimum 4 characters in their jobs
in the department 20?
38) List all the employee who are working as clerk, name end with s except department
number 10 ?
39) List the employees whose EmpNo ends with '9' and don't having reporting Manager.
40) Select all the salesman whose name second character starts with 'A' and who have
joined after 20-FEB-81.
41) Select all the salesman whose name has atleast 1 character 'R' and whose salary is
less than 1500 and who are joined after 21-FEB-81.
42) list all the names with 'E' present in their names and their salaries is between 6000
and 12000
43) list all the employees whose salary is more then 4000 and commission is null and
deptno 10
44) Display all the employee whose earning salary not in the range 2500 and 5000 in
dept 10 and 20 whose annual salary is ending with zero.
45) Display all the employee who are joined after year 81, not working as managers and
clerks in dept 10 and 20 with a salary in the range of 1000 to 3000.
46) Select all the employees whose name start with s or A in department 20 and 30.
whose are joined before 01-may-81 and after 01-may-80.
47) display all the employee whose job is clerk and annual salary ends with double zero?
48) display all the employee name whose name starts with 'a' and salary is range from
1000 to 3000
49) List all employees who are having R as third character in their name, not working as
clerk and joined after JUN-81
50) Display all department names and location containing string 'ON' in it
51) all employees who were hired in year 81 and doesn't have a reporting manager
52) Display all the employees who are joined after 17-dec-80 and getting salary greater
than 2000 and their jobs are analyst. And whose name start with S and end with T.
53) Display all the employees whose name having atleast one character O and his job is
analyst and whose joined after 17-nov-81.
54) Display all the employees who are not working as manager and analyst in dept 20
and 30 and whose getting salary range between 1000 to 3000 and their name having
atleast one O.
55) display all the employees whose names start with either w or m
56) Display all the employees who are getting some commission with their designation is
neither manager nor clerk.
57) Display all the employees who have joined in the month of December.
58) Display all the employees whose name is having two consecutive L's .
59) List ename, job and deptno who have reporting manager.
60) list all the employees whose salary between 1000 and 1500 working in dept 20,30
except clerk and salesman
61) Display all the manager whose annual Salary is ending with one
62) List all the employees whose name starts with ‘k’ or ‘p’
63) List all the employees whose name starts with ‘M’ or ‘K’ or 'N' or 'N'
64) Display all the employee who are ‘SALESMAN’s having R as the last character in
ename but salary having exactly 4 character
65) Select all the clerk whose name 4th character start with 'L' and earning salary less
than 2000
66) List the salesman whose ename 2nd char is M and salary in range from 500 to 1500
in it?
67) List all the employee's names,jobs,salary, who has at least one 's' in their name, earn
more than 2000 but not getting any commission in dept 10 and 20.
68) list all the employees whose employee number doesn't end with 2, name doesn't end
with 'N'or 'k', hired before 81 and earns more than 800 and salary contains at least
one zero digit.
69) Display all the employee who has a joining date on JANUARY, NOVEMBER or
APRIL in department 20,10 except 30, also having salary more than 2500.
70) list all emp in dept 20 and 30 whose epmno ends with 8 or 9 earning sal below 5000