I have to display the countries that are big by area or big by population but not both and Show name, population and area. Basically it's a XOR operation if i am not wrong.
A country is big if it has an area of more than 3 million sq km or it has a population of more than 250 million.
I have tried this
SELECT name, population, area
FROM world
WHERE (area > 30000000 | population > 25000000) &
(area < 30000000 & population < 25000000)
I am trying this on sqlzoo.net - SELECT_from_WORLD_Tutorial: Q.No-8. Please select the SQL Engine to SQLSERVER.