You are viewing a single comment's thread. Return to all comments →
Can someone explain to me why this is wrong?
select max(case when occupation = 'Doctor' then name end) as Doctor, max(case when occupation = 'Professor' then name end) as Professor, max(case when occupation = 'Singer' then name end) as Singer, max(case when occupation = 'Actor' then name end) as Actor from occupations group by name order by name
Seems like cookies are disabled on this browser, please enable them to open this website
Occupations
You are viewing a single comment's thread. Return to all comments →
Can someone explain to me why this is wrong?