https://www.hackerrank.com/challenges/occupations/problem?isFullScreen=falseoccupation별로 column이 있는 형태 --> CASE문을 이용해서 기본 골자를 만드는 문제이지 않을까 했다SELECT CASE WHEN occupation = 'Doctor' THEN name END AS Doctor, CASE WHEN occupation = 'Professor' THEN name END AS Professor, CASE WHEN occupation = 'Singer' THEN name END AS Singer, CASE WHEN occupation = 'Actor' THEN name END AS ActorFROM occupa..