user: ### NOW ANSWER:
Question: How many longs have a gain less than 379, and 0.8 as an avg/g?
Columns: ['Name', 'Gain', 'Loss', 'Long', 'Avg/G']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['Toben Opurum', 564.0, 23.0, 26.0, 54.1]
SQL:

assistant: SELECT SUM("Long") FROM "Table" WHERE "Gain" < 379.0 AND "Avg/G" = 0.8;