I hope this is simple. I have a sports database with a table for teams and a table for games.
Teams
tm_id
tm_name
tm_conf
tm_div
Games
gm_homeid (maps to tm_id in Teams)
gm_oppid (maps to tm_id in Teams)
gm_date
gm_homescore
gm_oppscore
What would a query look like that will give me the conf and div for BOTH teams.
Thanks in advance for your help. Much appreciated.
Teams
tm_id
tm_name
tm_conf
tm_div
Games
gm_homeid (maps to tm_id in Teams)
gm_oppid (maps to tm_id in Teams)
gm_date
gm_homescore
gm_oppscore
What would a query look like that will give me the conf and div for BOTH teams.
Thanks in advance for your help. Much appreciated.