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 sum of Alianza Wins, when Alianza Goals is "317, and when U Goals is greater than 296?
gpt
SELECT SUM Alianza wins FROM table WHERE Alianza goals = 317 AND U goals > 296