user: ### NOW ANSWER:
Question: What's the average amount of Runs that has 40 innings, and Not outs larger than 6?
Columns: ['Matches', 'Innings', 'Not Outs', 'Runs', 'Average']
Types: ['real', 'real', 'real', 'real', 'real']
Sample row: [41.0, 40.0, 6.0, 1598.0, 47.0]
SQL:

assistant: SELECT AVG("Runs") FROM "Table" WHERE "Innings" = 40.0 AND "Not Outs" > 6.0;