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

### Instruction:
How many goals did he have in the bundesliga with under 7 appearances?

### Inputs:
table_name: table, columns: ['Season', 'Club', 'Country', 'Competition', 'Apps.', 'Goals']

### Response:
SELECT AVG Goals FROM table WHERE Competition = bundesliga AND Apps. < 7