Table: misano_sb_race_3
Columns: rider
bike
laps
time
grid

Question: Who was the rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
SQL: SELECT "rider" FROM misano_sb_race_3 WHERE "laps" < 22 AND "grid" > 19 AND "time" = 'retirement' AND "bike" = 'kawasaki zx-6r'

Question: What is the maximum grid when the laps were greater than 22?
SQL: SELECT MAX("grid") FROM misano_sb_race_3 WHERE "laps" > 22

Question: What is the minimum grid when there was more than 22 laps?
SQL: SELECT MIN("grid") FROM misano_sb_race_3 WHERE "laps" > 22

Question: How many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?
SQL: SELECT SUM("laps") FROM misano_sb_race_3 WHERE "bike" = 'honda cbr600rr' AND "grid" = 7