CREATE TABLE table_name_36 (round INT, res VARCHAR, time VARCHAR)

What round has the highest Res loss, and a time of 40:00?
SELECT MAX(round) FROM table_name_36 WHERE res = "loss" AND time = "40:00"
SELECT MAX("round") FROM "table_name_36" WHERE "40:00" = "time" AND "loss" = "res"