user: Question: What was the sum of league goals where the toal was 8 and league cup goals were larger than 0?
Columns: ['Name', 'Position', 'League Apps', 'League Goals', 'FA Cup Apps', 'FA Cup Goals', 'League Cup Apps', 'League Cup Goals', 'Total Apps', 'Total Goals']
Types: ['text', 'text', 'text', 'real', 'text', 'real', 'text', 'real', 'text', 'real']
Sample row: ['Terry Austin', 'FW', '16 (2)', 8.0, '1', 0.0, '0', 0.0, '17 (2)', 8.0]
SQL:

assistant: SELECT SUM("League Goals") FROM "Table" WHERE "Total Goals" = 8.0 AND "League Cup Goals" > 0.0;