Context: CREATE TABLE table_name_31 (laps INTEGER, grid VARCHAR)
Question: What is the average number of laps for a grid of 6?
Answer: SELECT AVG(laps) FROM table_name_31 WHERE grid = 6