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 league had a finish of 2nd and 3 losses?
gpt
SELECT League FROM table WHERE Finish = 2nd AND Losses = 3