human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Competition, Wins, Draws, Loses
###Question: What average Wins has Losses 2, and Draws less than 0?
gpt
SELECT AVG Wins FROM table WHERE Loses = 2 AND Draws < 0