CREATE TABLE table_name_17 (wins INT, losses VARCHAR, draws VARCHAR)

What was the greatest number of wins for a team that had 7 losses and more than 0 draws?
SELECT MAX(wins) FROM table_name_17 WHERE losses = 7 AND draws > 0
SELECT MAX("wins") FROM "table_name_17" WHERE "draws" > 0 AND "losses" = 7