user: ### NOW ANSWER:
Question: Which Long is the highest one that has a Loss larger than 3, and a Gain larger than 2894?
Columns: ['Name', 'Gain', 'Loss', 'Long', 'Avg/G']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['Lamark Brown', 458.0, 46.0, 28.0, 45.8]
SQL:

assistant: SELECT MAX("Long") FROM "Table" WHERE "Loss" > 3.0 AND "Gain" > 2894.0;