What is the earliest year that a team event was included at Vilamoura, Portugal?
CREATE TABLE "achievements" (
  "year" real,
  "tournament" text,
  "venue" text,
  "result" text,
  "event" text
);
SELECT MIN("year") FROM "achievements" WHERE "event"='team' AND "venue"='vilamoura, portugal';