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_74 (total INTEGER, rank VARCHAR, gold VARCHAR)
  ### Question:
  What is the sum of Total ranking 9 and a Gold more than 6
  ### Answer:
  SELECT SUM(total) FROM table_name_74 WHERE rank = "9" AND gold > 6