[프로그래머스/SQL]조건에 맞는 아이템들의 가격의 총합 구하기

gov's avatar
Dec 09, 2024
[프로그래머스/SQL]조건에 맞는 아이템들의 가격의 총합 구하기
Contents
문제풀이

문제

notion image

풀이

select sum(price) -- 갸격 합 as 'total_price' -- 칼럼명 지정 from item_info -- 어디서 찾을 건지 where rarity = 'legend'; -- 조건
Share article

goho