CREATE TABLE table_203_431 (id DECIMAL, "#" DECIMAL, "date" TEXT, "venue" TEXT, "opponent" TEXT, "score" TEXT, "result" TEXT, "competition" TEXT)

what team did spain play before they played portugal ?
SELECT "opponent" FROM table_203_431 WHERE "date" < (SELECT "date" FROM table_203_431 WHERE "opponent" = 'portugal') ORDER BY "date" DESC LIMIT 1
SELECT "opponent" FROM "table_203_431" WHERE "date" < (SELECT "date" FROM "table_203_431" WHERE "opponent" = 'portugal') ORDER BY "date" DESC NULLS LAST LIMIT 1