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_83 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)
  ### Question:
  What is the highest rank that has 5 silvers, less than 5 golds, and less than 7 total medals?
  ### Answer:
  SELECT MAX(rank) FROM table_name_83 WHERE silver = 5 AND gold < 5 AND total < 7