user: ### NOW ANSWER:
Question: Who won the series when the San Francisco Giants lost?
Columns: ['Year', 'Series', 'Winning team', 'Losing team', 'Score', 'Site']
Types: ['real', 'text', 'text', 'text', 'text', 'text']
Sample row: [1985.0, 'ALCS', 'Kansas City Royals', 'Toronto Blue Jays', '6–2', 'Exhibition Stadium , Toronto, Ontario']
SQL:

assistant: SELECT "Winning team" FROM "Table" WHERE "Losing team" = 'San Francisco Giants';