user: Question: What is Team (B), when S No is less than 18, when Margin is 8 wickets, and when Match Date is Oct 30, 1989?
Columns: ['S No', 'Team (A)', 'Team (B)', 'Winner', 'Margin', 'Match Date']
Types: ['real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1.0, 'India', 'Sri Lanka', 'India', '10 runs', 'Jan 17, 1987']
SQL:

assistant: SELECT "Team (B)" FROM "Table" WHERE "S No" < 18.0 AND "Margin" = '8 wickets' AND "Match Date" = 'Oct 30, 1989';