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_97 (total INTEGER, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
  ### Question:
  What was Andorra's total with less than 10 silver and more than 5 bronze?
  ### Answer:
  SELECT SUM(total) FROM table_name_97 WHERE silver < 10 AND nation = "andorra" AND bronze > 5