user: ### NOW ANSWER:
Question: What team was playing at home when the away team scored 6.18 (54)
Columns: ['Home team', 'Home team score', 'Away team', 'Away team score', 'Venue', 'Crowd', 'Date']
Types: ['text', 'text', 'text', 'text', 'text', 'real', 'text']
Sample row: ['Richmond', '25.16 (166)', 'South Melbourne', '16.14 (110)', 'MCG', 21216.0, '23 June 1979']
SQL:

assistant: SELECT "Home team score" FROM "Table" WHERE "Away team score" = '6.18 (54)';