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

Question: What group has 1200 m as the distance?
SQL: SELECT "group" FROM race_results_107 WHERE "distance" = '1200 m'

Question: What venue has g1 as the group?
SQL: SELECT "venue" FROM race_results_107 WHERE "group" = 'g1'