human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Alianza wins, Draws, U wins, Alianza goals, U goals
###Question: What is the lowest Draws, when Alianza Goals is less than 317, when U Goals is less than 3, and when Alianza Wins is less than 2?
gpt
SELECT MIN Draws FROM table WHERE Alianza goals < 317 AND U goals < 3 AND Alianza wins < 2