[SQL] 연습

[sql] 작품이 없는 작가 찾기

Simon Yoon 2022. 11. 5. 23:48
select x1.artist_id, name
from artists x1
left join artworks_artists x2
on x1.artist_id = x2.artist_id
where death_year not null
  and artwork_id is null
;