question: Which was the district that had first elected greater than 2006 and is democratic?
answer: SELECT district FROM table_name_51 WHERE party = "democratic" AND first_elected > 2006
context: CREATE TABLE table_name_51 (district VARCHAR, party VARCHAR, first_elected VARCHAR)