|
Continents |
Country |
Continent |
India |
Asia |
USA |
N.America |
Italy |
Europe |
|
|
Continents1 |
Country |
Continent |
Italy |
Europe |
India |
Asia |
Ghana |
Africa |
|
|
---- Returns any distinct values from the First query that are not also found on the Second query.
SELECT * FROM Continents
EXCEPT
SELECT * FROM Continents1
|
Output |
Country |
Continent |
USA |
N.America |
SELECT * FROM Continents1
EXCEPT
SELECT * FROM Continents
Output |
Country |
Continent |
Ghana |
Africa |
|