text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)
  ### Question:
  What competition did he compete in before 2007 in gothenburg, sweden?
  ### Answer:
  SELECT competition FROM table_name_6 WHERE year < 2007 AND venue = "gothenburg, sweden"