Table: t_49ers_1974_season
Columns: week
date
opponent
result
attendance

Question: What was the attendance when they played at Detroit Lions?
SQL: SELECT "attendance" FROM t_49ers_1974_season WHERE "opponent" = 'at detroit lions'

Question: What was the average attendance for games played at Atlanta Falcons?
SQL: SELECT AVG("attendance") FROM t_49ers_1974_season WHERE "opponent" = 'at atlanta falcons'

Question: Which week was the game played on December 8, 1974?
SQL: SELECT "week" FROM t_49ers_1974_season WHERE "date" = 'december 8, 1974'

Question: What was the result before week 13 when they played the Oakland Raiders?
SQL: SELECT "result" FROM t_49ers_1974_season WHERE "week" < 13 AND "opponent" = 'oakland raiders'