Database: codebase_community
Question: What is the sum of favourite count gained by user ID 686 in 2011?
SQL: SELECT SUM(DISTINCT FavoriteCount) FROM posts WHERE Id IN ( SELECT PostId FROM postHistory WHERE UserId = 686 AND STRFTIME('%Y', CreationDate) = '2011' )