What is the average number of laps for a grid of 6?
CREATE TABLE table_name_31 (
    laps INTEGER,
    grid VARCHAR
)
SELECT AVG(laps) FROM table_name_31 WHERE grid = 6
Below are sql tables schemas paired with instruction that describes a task. Using valid SQLite, write a response that appropriately completes the request for the provided tables. ### Instruction: What is the average number of laps for a grid of 6? ### Input: CREATE TABLE table_name_31 (
    laps INTEGER,
    grid VARCHAR
) ### Response: SELECT AVG(laps) FROM table_name_31 WHERE grid = 6