Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What was the sum of league goals where the toal was 8 and league cup goals were larger than 0?

### Inputs:
table_name: table, columns: ['Name', 'Position', 'League Apps', 'League Goals', 'FA Cup Apps', 'FA Cup Goals', 'League Cup Apps', 'League Cup Goals', 'Total Apps', 'Total Goals']

### Response:
SELECT SUM League Goals FROM table WHERE Total Goals = 8 AND League Cup Goals > 0