문제 URL : https://solvesql.com/problems/artists-without-artworks/
https://solvesql.com/problems/artists-without-artworks/
solvesql.com
*문제 저작권으로 인하여 직접 작성한 쿼리문만 첨부
select artist_id, name
from artists
where death_year is not null
and artist_id not in (
select artist_id from artworks_artists
)
서브쿼리를 통한 조건 추가 사용
'Problem Solving' 카테고리의 다른 글
[SolveSQL] 온라인 쇼핑몰의 월 별 매출액 집계 (0) | 2025.02.24 |
---|---|
[SolveSQL] 멘토링 짝꿍 리스트 (0) | 2025.02.17 |
[백준] 2252-줄 세우기 (1) | 2025.02.15 |
[SolveSQL] 쇼핑몰의 일일 매출액과 ARPPU (0) | 2025.02.06 |
[SolveSQL] 배송 예정일 예측 성공과 실패 (0) | 2025.02.06 |