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

### Instruction:
Which Total Apps (sub) has 6 goals total?

### Inputs:
table_name: table, columns: ['Season', 'League Apps (sub)', 'League Goals', 'Cup Apps (sub)', 'Cup Goals', 'Total Apps (Sub)', 'Total Goals']

### Response:
SELECT Total Apps (Sub) FROM table WHERE Total Goals = 6