user: Question: When was the incumbent from the Virginia 10 district first elected? 
Columns: ['District', 'Incumbent', 'Party', 'First elected', 'Result', 'Candidates']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Virginia 2', 'David Holmes', 'Democratic-Republican', '1797', 'Re-elected', 'David Holmes (DR) Alexander Sinclair (F)']
SQL:

assistant: SELECT "First elected" FROM "Table" WHERE "District" = 'Virginia 10';