CREATE TABLE "2002_03_season_as_a_six_year_old" (
  "result" text,
  "date" text,
  "race" text,
  "venue" text,
  "group" text,
  "distance" text,
  "weight_kg" real,
  "jockey" text,
  "winner_2nd" text
);

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

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

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

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

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

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