Question: What counties represented have a Democratic committee, and a committee of Ways and Means?
SQL: SELECT "Counties Represented" FROM "2-12679326-1" WHERE "Party" = 'Democratic' AND "Committee" = 'Ways and Means';

Question: What is the average first elected year that has a district of 11 and a committee of Environmental Matters?
SQL: SELECT AVG("First Elected") FROM "2-12679326-1" WHERE "District" = '11' AND "Committee" = 'Environmental Matters';

Question: What is the total number of First elected that has a country represented in baltimore county, a district of 06.0 6, and a committee of economic matters?
SQL: SELECT COUNT("First Elected") FROM "2-12679326-1" WHERE "Counties Represented" = 'baltimore county' AND "District" = '06.0 6' AND "Committee" = 'economic matters';

Question: What district has counties represented by Baltimore County, a committee of Health and Government Operations, and a first elected smaller than 2002?
SQL: SELECT "District" FROM "2-12679326-1" WHERE "Counties Represented" = 'Baltimore County' AND "Committee" = 'Health and Government Operations' AND "First Elected" < 2002.0;

Question: What is the Highest first elected year that has a district of 06.0 6, and a committee of Economic Matters?
SQL: SELECT MAX("First Elected") FROM "2-12679326-1" WHERE "District" = '06.0 6' AND "Committee" = 'Economic Matters';