question: Which Grid has a Rider of randy de puniet, and Laps smaller than 24?
answer: SELECT MAX(grid) FROM table_name_11 WHERE rider = "randy de puniet" AND laps < 24
context: CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR)