Table: election_results_5
Columns: district
incumbent
party
first_elected
result
candidates

Question: What district did S. William Green belong to?
SQL: SELECT "district" FROM election_results_5 WHERE "incumbent" = 'S. William Green'

Question: What district did the Democratic party incumbent Stephen J. Solarz get first elected to in 1974?
SQL: SELECT "district" FROM election_results_5 WHERE "party" = 'Democratic' AND "first_elected" = 1974 AND "incumbent" = 'Stephen J. Solarz'

Question: When was Stephen J. Solarz first elected?
SQL: SELECT MIN("first_elected") FROM election_results_5 WHERE "incumbent" = 'Stephen J. Solarz'

Question: Who were the candidates when Shirley Chisholm was the incumbent?
SQL: SELECT "candidates" FROM election_results_5 WHERE "incumbent" = 'Shirley Chisholm'