Table: match_results_7
Columns: date
opponents
h_a
result_f_a
attendance

Question: What's the attendance when the opponents are cambridge united?
SQL: SELECT "attendance" FROM match_results_7 WHERE "opponents" = 'cambridge united'

Question: What's the average attendance when the opponents are dundalk?
SQL: SELECT AVG("attendance") FROM match_results_7 WHERE "opponents" = 'dundalk'

Question: What's the total attendance for H/A of A and opponents of wolverhampton wanderers?
SQL: SELECT COUNT("attendance") FROM match_results_7 WHERE "h_a" = 'a' AND "opponents" = 'wolverhampton wanderers'