서브쿼리

    [MySQL] HackerRank Pivot Table 문제 (CASE문, SET, 서브쿼리 활용)

    [MySQL] HackerRank Pivot Table 문제 (CASE문, SET, 서브쿼리 활용)

    문제 출처 https://www.hackerrank.com/challenges/occupations/problem?isFullScreen=true&h_r=next-challenge&h_v=zen Occupations | HackerRank Pivot the Occupation column so the Name of each person in OCCUPATIONS is displayed underneath their respective Occupation. www.hackerrank.com 문제 설명 OCCUPATIONS 테이블은 Name, Occupation 두 column으로 이루어진 테이블이에요. 문제는 Occupation 칼럼에 있는 4가지 직업 (Doctor, Professor, Singer, A..