CREATE TABLE table_name_17 (counties_represented VARCHAR, party VARCHAR, committee VARCHAR)

What counties represented have a democratic committee, and a committee of ways and means?
SELECT counties_represented FROM table_name_17 WHERE party = "democratic" AND committee = "ways and means"
SELECT "counties_represented" FROM "table_name_17" WHERE "committee" = "ways and means" AND "democratic" = "party"