CREATE TABLE table_54446 ("Driver" TEXT, "Constructor" TEXT, "Laps" FLOAT, "Time/Retired" TEXT, "Grid" FLOAT)

What is the average laps for a grid larger than 2, for a ferrari that got in an accident?
SELECT AVG("Laps") FROM table_54446 WHERE "Grid" > '2' AND "Time/Retired" = 'accident' AND "Constructor" = 'ferrari'
SELECT AVG("Laps") FROM "table_54446" WHERE "Constructor" = 'ferrari' AND "Grid" > '2' AND "Time/Retired" = 'accident'