question: what is the lowest laps when the grid is smaller than 5 and the driver is juan manuel fangio?
answer: SELECT MIN(laps) FROM table_name_45 WHERE grid < 5 AND driver = "juan manuel fangio"
context: CREATE TABLE table_name_45 (laps INTEGER, grid VARCHAR, driver VARCHAR)