user: Question: What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2488?
Columns: ['Name', 'Gain', 'Loss', 'Long', 'Avg/G']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['Daniel Thomas', 1290.0, 25.0, 40.0, 105.4]
SQL:

assistant: SELECT MIN("Long") FROM "Table" WHERE "Avg/G" > -2.2 AND "Name" = 'total' AND "Gain" > 2488.0;