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: When first elected was 2006, who was the delegate?
gpt
SELECT Delegate FROM table WHERE First Elected = 2006