Em que mandato houve um representante democrata do distrito 7?
CREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR)
SELECT term FROM table_name_22 WHERE district = "7" AND party = "democratic"