CREATE TABLE table_name_5 (laps INT, time VARCHAR)

What is the largest lap number when the time was +31.982?
SELECT MAX(laps) FROM table_name_5 WHERE time = "+31.982"
SELECT MAX("laps") FROM "table_name_5" WHERE "+31.982" = "time"