CREATE TABLE table_name_47 (time VARCHAR(255), laps VARCHAR(255), manufacturer VARCHAR(255), grid VARCHAR(255))
How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23?
    
SQL: SELECT time FROM table_name_47 WHERE manufacturer = "yamaha" AND grid < 8 AND laps < 23