CREATE TABLE table_51844 ("Rank" FLOAT, "Name" TEXT, "Wins" FLOAT, "Losses" FLOAT, "Pct." FLOAT)

What is the lowest amount of wins a manager with more than 0.526 pct., ranked higher than 37, and 947 losses has?
SELECT MIN("Wins") FROM table_51844 WHERE "Pct." > '0.526' AND "Rank" < '37' AND "Losses" = '947'
SELECT MIN("Wins") FROM "table_51844" WHERE "Losses" = '947' AND "Pct." > '0.526' AND "Rank" < '37'