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

7 lines
233 B
MySQL
Raw Normal View History

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.
*/
SELECT *
FROM employees
WHERE (salary,manager_id)=
(SELECT 3000,121);