Table: lions_2005
Columns: week
date
opponent
result
record
attendance

Question: What was the attendance at the game with a record of 4-5?
SQL: SELECT "attendance" FROM lions_2005 WHERE "record" = '4-5'

Question: What was the date of the week 16 game?
SQL: SELECT "date" FROM lions_2005 WHERE "week" = 16

Question: What was the record at the game with a result of W 13-12 after week 4?
SQL: SELECT "record" FROM lions_2005 WHERE "week" > 4 AND "result" = 'w 13-12'

Question: Who was the opponent at the game attended by 62,019 before week 17?
SQL: SELECT "opponent" FROM lions_2005 WHERE "week" < 17 AND "attendance" = '62,019'