Advertisement
Guest User

Untitled

a guest
Jan 27th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. SELECT name, continent,
  2. case when continent='Oceania' then 'Australasia'
  3. when continent='Eurasia' or name = 'Turkey' then 'Europe/Asia'
  4. when continent='Caribbean' and name like 'B%' then 'North America'
  5. when continent='Caribbean' and name not like 'B%' then 'South America'
  6. else continent end
  7. from world
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement