user: Question: What is the average laps when the manufacturer is yamaha, and the rider is garry mccoy and the grid is smaller than 4?
Columns: ['Rider', 'Manufacturer', 'Laps', 'Time/Retired', 'Grid']
Types: ['text', 'text', 'real', 'text', 'real']
Sample row: ['Alex Barros', 'Honda', 30.0, '47:22.404', 2.0]
SQL:

assistant: SELECT AVG("Laps") FROM "Table" WHERE "Manufacturer" = 'yamaha' AND "Rider" = 'garry mccoy' AND "Grid" < 4.0;