Database: art_1
Question: What is the unique id of every painter who had a medium oil painting displayed at gallery 240?
SQL:
SELECT DISTINCT painterID FROM paintings WHERE medium  =  "oil" AND LOCATION  =  "Gallery 240"