user: Question: What is the earliest year that a team event was included at vilamoura, portugal?
Columns: ['Year', 'Tournament', 'Venue', 'Result', 'Event']
Types: ['real', 'text', 'text', 'text', 'text']
Sample row: [1998.0, 'European Championships', 'Budapest , Hungary', '8th', '5000 m']
SQL:

assistant: SELECT MIN("Year") FROM "Table" WHERE "Event" = 'team' AND "Venue" = 'vilamoura, portugal';