What counties represented have a democratic committee, and a committee of ways and means?
CREATE TABLE table_name_17 (counties_represented VARCHAR, party VARCHAR, committee VARCHAR)
SELECT counties_represented FROM table_name_17 WHERE party = "democratic" AND committee = "ways and means"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (counties_represented VARCHAR, party VARCHAR, committee VARCHAR) Question: What counties represented have a democratic committee, and a committee of ways and means? [/INST] SELECT counties_represented FROM table_name_17 WHERE party = "democratic" AND committee = "ways and means" </s>