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_8 (wins INTEGER, losses VARCHAR, pct VARCHAR, rank VARCHAR)
  ### Question:
  What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has?
  ### Answer:
  SELECT MIN(wins) FROM table_name_8 WHERE pct > 0.526 AND rank < 37 AND losses = 947