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

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