Database: codebase_community (difficulty: simple)
Question: Provide the badge names received in 2011 for the user whose location is in the Massachusetts.
SQL: SELECT T2.Name FROM users AS T1 INNER JOIN badges AS T2 ON T1.Id = T2.UserId WHERE STRFTIME('%Y', T2.Date) = '2011' AND T1.Location = 'Massachusetts'