Instruct: Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison
Output: SELECT AVG Laps FROM table WHERE Grid > 12 AND Bike = ducati 999rs AND Rider = dean ellison