SQL - Set Operations
Given two tables:
id | name
1 | Alice
2 | Bob
3 | Carol
id | name
2 | Bob
3 | Carol
4 | Dave
What is the result of this query?
Employees1:id | name
1 | Alice
2 | Bob
3 | Carol
Employees2:id | name
2 | Bob
3 | Carol
4 | Dave
What is the result of this query?
SELECT id, name FROM Employees1 INTERSECT SELECT id, name FROM Employees2;
