CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)

What competition did he compete in before 2007 in gothenburg, sweden?
SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"
SELECT "competition" FROM "table_name_6" WHERE "gothenburg, sweden" = "venue" AND "year" < 2007