서브쿼리
![[MySQL] HackerRank Pivot Table 문제 (CASE문, SET, 서브쿼리 활용)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FI0jym%2FbtsoZ0iGgp0%2F1sEPAwPJnFo268aIKbcKbk%2Fimg.png)
[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..