SCHEMA:
CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER)
USER:
Tell me the average Laps for grid larger than 22

QUERY:
SELECT AVG(laps) FROM table_name_39 WHERE grid > 22