- -- Next, we insert the home and away teams. We do this before
- -- inserting the game itself because the game has two foreign keys
- -- pointing to "teams".
+ -- First insert the game, keyed to the "odds",
+ game_id <- insert_xml_fk odds_id g
+
+ -- Next, we insert the home and away teams.