Table: election_results_7
Columns: district
incumbent
party
first_elected
result
candidates

Question: Name the distrct for thomas wilson
SQL: SELECT "district" FROM election_results_7 WHERE "incumbent" = 'Thomas Wilson'

Question: Name the party for  john randolph redistricted from the 15th district
SQL: SELECT "party" FROM election_results_7 WHERE "incumbent" = 'John Randolph Redistricted from the 15th district'

Question: Name the party for virginia 12
SQL: SELECT "party" FROM election_results_7 WHERE "district" = 'Virginia 12'