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 (gold INTEGER, silver VARCHAR, total VARCHAR)
  ### Question:
  What is the sum of the gold medals of the nation with 4 silvers and more than 6 total medals?
  ### Answer:
  SELECT SUM(gold) FROM table_name_74 WHERE silver = 4 AND total > 6