Question: What is the average grid number for cars that retired due to engine failure before 18 laps?
SQL: SELECT AVG Grid FROM table WHERE Time/Retired = engine AND Laps < 18