Question: What is the highest Laps, when Bike is "Yamaha YZF-R1", when Rider is "David Checa", and when Grid is greater than 18?
SQL: SELECT MAX Laps FROM table WHERE Bike = yamaha yzf-r1 AND Rider = david checa AND Grid > 18