Question: What's the average amount of Runs that has 40 innings, and Not outs larger than 6?
SQL: SELECT AVG Runs FROM table WHERE Innings = 40 AND Not Outs > 6