programming-examples/sql/SubqueriesHRDatabase/Write a query to display all the information of an employee whose salary and reporting person id is 3000 and 121 respectively..sql
2019-11-18 14:05:53 +01:00

7 lines
233 B
SQL

/*Write a query to display all the information of an employee whose salary and reporting person id is 3000 and 121 respectively.
*/
SELECT *
FROM employees
WHERE (salary,manager_id)=
(SELECT 3000,121);