programming-examples/sql/SubqueriesHRDatabase
2019-11-18 14:05:53 +01:00
..
Display the employee name( first name and last name ), employee id, and job title for all employees.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
to display the department number, name ( first name and last name ), job and department name for all employees in the Finance department.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the city of the employee whose ID 134 and works there.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the department code and name for all departments which located in the city London.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the department name and Id for all departments where they located, that Id is equal to the Id for the location.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the detail information of those departments which starting salary is at least 8000.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, and department code for all.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary and department ID for those employees.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary, and department ID for all those employees who work in that department.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary, and department ID for those employees who earn less than the average salary, and also work at the department.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary, and department ID for those employees who earn less than the minimum salary of a department which ID is 70.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary, and department ID for those employees who earn more than the maximum salary of a department which ID is 40.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary, and department ID for those employees who earn more than the minimum salary of a department which ID is 40.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the first and last name, salary, and department ID for those employees whose salary is equal to the salary.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the full name (first and last name) of manager who is supervising 4 or more employees.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the full name,email, and designation for all those employees who was hired after the employee whose ID is 165.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query in SQL to display the the details of those departments which max salary is 7000 or above for those employees.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query that will identify all employees who work in departments located in the United Kingdom.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to determine who earns more than Mr. Ozer.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display all the information for those employees whose id is any id who earn the second highest salary.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display all the information of an employee whose salary and reporting person id is 3000 and 121 respectively..sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display all the information of an employee whose salary and reporting person id is 3000 and 121 respectively.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display all the information of the employees who does not work in those departments where some employees works.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display all the information of the employees whose salary if within the range of smallest salary and 2500.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display all the information of the employees whose salary is within the range 1000 and 3000.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the ( first name and last name ) and job title for all employees whose salary.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the department id and the total salary for those departments which contains at least one salaried employee.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee id, employee name (first name and last name ) for all employees who earn more than the average salary.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee id, name ( first name and last name ) and the job id column with a modified title SALESMAN for those employees whose job title is.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee id, name ( first name and last name ), salary and the SalaryStatus column with a title HIGH and LOW.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee id, name ( first name and last name ), salary, department.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee id, name ( first name and last name ), SalaryDrawn, AvgCompare (salary - the average salary of all employees) and the SalaryStatus.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee name ( first name and last name ), employee id and salary of all employees who report to Payam.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee name( first name and last name ) and department for all employees for any existence of those employees whose.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee name( first name and last name ) and hiredate for all employees in the same department as Clara. Exclude Clara.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee number and name( first name and last name ) for all employees who work in a department with any employee whose name contains a T.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee number, name ob title for all employees whose salary is smaller than any.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the employee number, name( first name and last name ) and job title for all employees whose salary is more.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to display the name ( first name and last name ) for those employees who gets more salary than the employee whose id is 163.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to find out which employees have a manager who works for a department based in the US.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to get the details of employees who are managers.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to get the details of employees who manage a department.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query to identify all the employees who earn more than the average and who work in any of the IT departments.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a query which is looking for the names of all employees whose salary is greater than 50 of their departments total salary bill.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a statement to display all the information of an employee whose id is any of the number 134, 159 and 183.sql Adding SQL query language 2019-11-18 14:05:53 +01:00
Write a subquery that returns a set of rows to find all departments that do actually have one or more employees assigned to them.sql Adding SQL query language 2019-11-18 14:05:53 +01:00