Table: balt_county_del
Columns: district
counties_represented
party
first_elected
committee

Question: What counties represented have a democratic committee, and a committee of ways and means?
SQL: SELECT "counties_represented" FROM balt_county_del 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 balt_county_del 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 balt_county_del 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 balt_county_del WHERE "counties_represented" = 'baltimore county' AND "committee" = 'health and government operations' AND "first_elected" < 2002

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 balt_county_del WHERE "district" = '06.0 6' AND "committee" = 'economic matters'