Table: election_results_1970
Columns: district
incumbent
party
first_elected
result
candidates

Question: what is the party when the incumbent is sidney r. yates?
SQL: SELECT "party" FROM election_results_1970 WHERE "incumbent" = 'Sidney R. Yates'

Question: what was the year first elected for district illinois 7?
SQL: SELECT MAX("first_elected") FROM election_results_1970 WHERE "district" = 'Illinois 7'

Question: how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%?
SQL: SELECT COUNT("incumbent") FROM election_results_1970 WHERE "candidates" = 'Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%'

Question: how many times was it the district illinois 18?
SQL: SELECT COUNT("candidates") FROM election_results_1970 WHERE "district" = 'Illinois 18'

Question: who were the candidates when the incumbent was ed derwinski?
SQL: SELECT "candidates" FROM election_results_1970 WHERE "incumbent" = 'Ed Derwinski'

Question: When was the first elected when the party was republican and the candidate were robert h. michel (r) 66.1% rosa lee fox (d) 33.9%?
SQL: SELECT MIN("first_elected") FROM election_results_1970 WHERE "party" = 'Republican' AND "candidates" = 'Robert H. Michel (R) 66.1% Rosa Lee Fox (D) 33.9%'