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

### Instruction:
Name the Year with a Rank-Final smaller than 2, an Apparatus of team, and a Score-Qualifying smaller than 248.275?

### Inputs:
table_name: table, columns: ['Year', 'Competition Description', 'Location', 'Apparatus', 'Rank-Final', 'Score-Final', 'Rank-Qualifying', 'Score-Qualifying']

### Response:
SELECT AVG Year FROM table WHERE Rank-Final < 2 AND Apparatus = team AND Score-Qualifying < 248.275