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_77 (tournament VARCHAR)
  ### Question:
  What tournament has 1r as a 2004, and 1r as a 2007?
  ### Answer:
  SELECT tournament FROM table_name_77 WHERE 2004 = "1r" AND 2007 = "1r"