user: Question: What is the total number of games with more than 18 loses, a total League, and more than 317 draws?
Columns: ['League', 'number of seasons', 'total games', 'Draw', 'Loss']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['State/Premier League', 28.0, 658.0, 143.0, 265.0]
SQL:

assistant: SELECT "total games" FROM "Table" WHERE "Loss" > 18.0 AND "League" = 'total' AND "Draw" > 317.0;