문제
Given the table schemas below, write a query to print the company_code, founder name, total number of lead managers, total number of senior managers, total number of managers, and total number of employees. Order your output by ascending company_code.
실행 코드
5개의 테이블을 LEFT JOIN으로 줄줄이 연결해주면 된다.
'Data > SQL' 카테고리의 다른 글
[HackerRank] Symmetric Pairs (0) | 2023.03.17 |
---|---|
[프로그래머스] 서울에 위치한 식당 목록 출력하기 (0) | 2023.03.16 |
[HackerRank] Placements (0) | 2023.03.13 |
[HackerRank] Top Competitors (0) | 2023.03.11 |
[프로그래머스] 식품분류별 가장 비싼 식품의 정보 조회하기 (0) | 2023.03.09 |