Database: art_1
Question: Find the death year of all artists who have at most 3 paintings?
SQL:
SELECT T1.deathYear FROM artists AS T1 JOIN paintings AS T2 ON T1.artistID  =  T2.painterID GROUP BY T2.painterID HAVING count(*)  <=  3