Table: race_results_4
Columns: result
date
race
venue
group
distance
weight_kg
jockey
winner_2nd

Question: How many races were for a distance of 2020 m?
SQL: SELECT COUNT("group") FROM race_results_4 WHERE "distance" = '2020 m'

Question: Who was the winner of the race at Belmont?
SQL: SELECT "winner_2nd" FROM race_results_4 WHERE "venue" = 'Belmont'

Question: On what date did Northerly place 6th?
SQL: SELECT "date" FROM race_results_4 WHERE "result" = '6th'

Question: What was the weight in kg on the day of the race at Ranvet Stakes?
SQL: SELECT "weight_kg" FROM race_results_4 WHERE "race" = 'Ranvet Stakes'

Question: What was Northerly's result at the race on 19 Oct 2002?
SQL: SELECT "result" FROM race_results_4 WHERE "date" = '19 Oct 2002'

Question: What was the distance of the race in which Northerly raced in group G3?
SQL: SELECT "distance" FROM race_results_4 WHERE "group" = 'G3'