0% found this document useful (0 votes)
10 views

Oracle Queries

Ghhh

Uploaded by

pvk prasad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Oracle Queries

Ghhh

Uploaded by

pvk prasad
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

1. Display details of jobs where the minimum salary is greater than 10000.

2. Display the first name and join date of the employees who joined between 2002
and 2005.

3. Display first name and join date of the employees who is either IT Programmer or
Sales Man.

4. Display employees who joined after 1st January 2008.

5. Display details of employee with ID 150 or 160.

6. Display first name, salary, commission pct, and hire date for employees with
salary less than 10000.

7. Display job Title, the difference between minimum and maximum salaries for jobs
with max salary in the range 10000 to 20000.

8. Display first name, salary, and round the salary to thousands.

9. Display details of jobs in the descending order of the title.

10. Display employees where the first name or last name starts with S.

11. Display employees who joined in the month of May.

12. Display details of the employees where commission percentage is null and salary
in the range 5000 to 10000 and department is 30.

13. Display first name and date of first salary of the employees.

14. Display first name and experience of the employees.

15. Display first name of employees who joined in 2001.

16. Display first name and last name after converting the first letter of each name to
upper case and the rest to lower case.

17. Display the first word in job title.

18. Display the length of first name for employees where last name contain character
‘b’ after 3rd position.

19. Display first name in upper case and email address in lower case for employees
where the first name and email address are same irrespective of the case.
20. Display employees who joined in the current year.

21. Display the number of days between system date and 1st January 2011.

22. Display how many employees joined in each month of the current year.

23. Display manager ID and number of employees managed by the manager.

25. Display number of employees joined after 15th of the month.

You might also like