CREATE TABLE table_name_17 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)

Who drove in grids more than 3 and exited in an accident?
SELECT driver FROM table_name_17 WHERE grid > 3 AND time_retired = "accident"
SELECT "driver" FROM "table_name_17" WHERE "accident" = "time_retired" AND "grid" > 3