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_99 (rank INTEGER, gold VARCHAR, total VARCHAR)
  ### Question:
  What is the total of rank when gold is 2 and total is more than 4?
  ### Answer:
  SELECT SUM(rank) FROM table_name_99 WHERE gold = 2 AND total > 4