Table: election_results_1988_5
Columns: district
incumbent
party
first_elected
result
candidates

Question: In the district called Tennessee 6, how many in total of first elected are there?
SQL: SELECT COUNT("first_elected") FROM election_results_1988_5 WHERE "district" = 'Tennessee 6'

Question: Which party is associated with the person who was first elected in 1982?
SQL: SELECT "party" FROM election_results_1988_5 WHERE "first_elected" = 1982

Question: How many candidates are listed all together for the incumbent named bob clement?
SQL: SELECT COUNT("candidates") FROM election_results_1988_5 WHERE "incumbent" = 'Bob Clement'

Question: What was the results for the candidates listed as bart gordon (d) 76.5% wallace embry (r) 23.5%?
SQL: SELECT "result" FROM election_results_1988_5 WHERE "candidates" = 'Bart Gordon (D) 76.5% Wallace Embry (R) 23.5%'

Question: Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?
SQL: SELECT "incumbent" FROM election_results_1988_5 WHERE "candidates" = 'Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%'

Question: In what district would you find the candidates listed as jim cooper (d) unopposed?
SQL: SELECT "district" FROM election_results_1988_5 WHERE "candidates" = 'Jim Cooper (D) Unopposed'