SQL Join Exercise
SQL Join Exercise
2) Find the Second Highest Salary that Employees get in the Organization (Only Sal)
3) Find the employee first name last name , department name and job title of
employees where
where department id can be either 1 2 or 3
4) Find all the employee names with their corresponding manager names.
5) Find all the employees who get a better salary than the employees working in
department 2
6) Display all Employee IDs and Names of Employees whose Salary >=15000.
11) Display all the employees who's last name starts with the letter 'B' and has a
dependent.
12) Display all the employees along with their respective manager's name and
managers emp id.
13) Display all the employees along with their department name and location city.
14) Display all the employees who belong to the 'Europe' region.
15) Write a query to find out Total number of employee under each department
along with department location .
16) Write a query to find out employee count under each manager
17) Write a query to find out average salary of employees who are having same job
role.
18) Display the details of employee whose firstname has second character as 'e'.
19) Display the average salary of those employees who was hired between 1990 and
1991.
20) Display firstname (as FIRST NAME) and department name (as DEPT NAME) of
those employees whose salary is less than five thousand.
21) Display firstname, department name and salary for employees of IT department
and Sales department.