Skip to content

Commit

Permalink
solvesql/난이도 3: 작품이 없는 작가 찾기 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
sieunnnn committed Jan 26, 2024
1 parent 1c78a9c commit 69cb6d8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/solvesql/level3/PROB07.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
SELECT
A.artist_id,
A.name
FROM
artists AS A
LEFT JOIN
artworks_artists AS AA ON A.artist_id = AA.artist_id
WHERE
A.death_year IS NOT NULL
AND AA.artwork_id IS NULL
GROUP BY
A.artist_id;

0 comments on commit 69cb6d8

Please sign in to comment.