Table: ny_competition_results
Columns: total
score
winning_team
losing_team
venue
date

Question: Who was the losing team with a total of 24 when the winning team was Sydney Roosters?
SQL: SELECT "losing_team" FROM ny_competition_results WHERE "total" = 24 AND "winning_team" = 'sydney roosters'

Question: Which venue had a losing team of south sydney rabbitohs?
SQL: SELECT "venue" FROM ny_competition_results WHERE "losing_team" = 'south sydney rabbitohs'

Question: What day was the total smaller than 19 at Venue of anz stadium?
SQL: SELECT "date" FROM ny_competition_results WHERE "total" < 19 AND "venue" = 'anz stadium'