https://school.programmers.co.kr/learn/courses/30/lessons/131533
프로그래머스
코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.
programmers.co.kr
SELECT product_code, sum(product.price * offline_sale.sales_amount) as sales from product inner join offline_sale where product.product_id = offline_sale.product_id group by product_code order by sales desc, product_code asc
'Problem Solving > Programmers' 카테고리의 다른 글
[SQL] 프로그래머스 join 59043 (1) | 2023.02.23 |
---|---|
[SQL] 프로그래머스 not in 59042 (0) | 2023.02.23 |
[SQL] 프로그래머스 join 131124 (2) | 2023.02.23 |
[SQL] 프로그래머스 join 144854 (0) | 2023.02.23 |
[Greedy] 42885 구명보트 (1) | 2023.01.06 |