Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT name, continent,
- case when continent='Oceania' then 'Australasia'
- when continent='Eurasia' or name = 'Turkey' then 'Europe/Asia'
- when continent='Caribbean' and name like 'B%' then 'North America'
- when continent='Caribbean' and name not like 'B%' then 'South America'
- else continent end
- from world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement