human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: District, Counties Represented, Delegate, Party, First Elected, Committee
###Question: Which was the district that had first elected greater than 2006 and is democratic?
gpt
SELECT District FROM table WHERE Party = democratic AND First Elected > 2006