CREATE TABLE table_name_51 (district VARCHAR2, party VARCHAR2, first_elected VARCHAR2)

Which was the district that had first elected greater than 2006 and is democratic?
SELECT district FROM table_name_51 WHERE party = "democratic" AND first_elected > 2006
SELECT "district" FROM "table_name_51" WHERE "democratic" = "party" AND "first_elected" > 2006