Question: what will the following SQL query return? SELECT employee _ id FROM employees MINUS SELECT employee _ id FROM former _ employees; Retrieves employee IDs

what will the following SQL query return?
SELECT employee_id FROM employees
MINUS
SELECT employee_id FROM former_employees;
Retrieves employee IDs from
'former_employees' table that do not exist in 'employees' table.
Retrieves all employee IDs from the 'employees' table.
Retrieves employee IDs that exist in both 'employees' and 'former_employees' tables.
Retrieves employee IDs from 'employees' table that do not exist in 'former_employees' table.
 what will the following SQL query return? SELECT employee_id FROM employees

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!