You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
283 B
SQL

/*21. Write a query in SQL to display the employee Id, first name, job id, and department number for
those employees whose department number equals 30, 40 or 90.*/
SELECT employee_id, first_name, job_id, department_id
FROM employees
WHERE department_id IN (30 , 40 , 90);