human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Season, League, Finish, Wins, Losses, Ties
###Question: What is the highest wins for the NFL with a finish of 1st, and more than 6 losses?
gpt
SELECT MAX Wins FROM table WHERE League = nfl AND Finish = 1st AND Losses > 6