question: Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2,894?
answer: SELECT MAX(long) FROM table_name_22 WHERE loss > 3 AND gain > 2 OFFSET 894
context: CREATE TABLE table_name_22 (long INTEGER, loss VARCHAR, gain VARCHAR)