Database: art_1
Question: What is the name and year of each painting created by the artist whose first name is Mary?
SQL:
SELECT T2.title ,   T2.year FROM artists AS T1 JOIN paintings AS T2 ON T1.artistID  =  T2.painterID WHERE T1.fname  =  "Mary"