CREATE TABLE table_67474 ("Matches" FLOAT, "Innings" FLOAT, "Not Outs" FLOAT, "Runs" FLOAT, "Average" FLOAT)

What's the average amount of Runs that has 40 innings, and Not outs larger than 6?
SELECT AVG("Runs") FROM table_67474 WHERE "Innings" = '40' AND "Not Outs" > '6'
SELECT AVG("Runs") FROM "table_67474" WHERE "Innings" = '40' AND "Not Outs" > '6'