Table: fa_cup_matches_31
Columns: tie_no
home_team
score
away_team
date

Question: What was the score when the tie no was 12?
SQL: SELECT "score" FROM fa_cup_matches_31 WHERE "tie_no" = '12'

Question: What date was the match against carlisle united?
SQL: SELECT "date" FROM fa_cup_matches_31 WHERE "away_team" = 'carlisle united'

Question: Who was the home team when millwall was the away team?
SQL: SELECT "home_team" FROM fa_cup_matches_31 WHERE "away_team" = 'millwall'