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

### Instruction:
What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989?

### Inputs:
table_name: table, columns: ['S No', 'Team (A)', 'Team (B)', 'Winner', 'Margin', 'Match Date']

### Response:
SELECT Team (B) FROM table WHERE S No < 18 AND Margin = 8 wickets AND Match Date = oct 30, 1989