Table joining with two columns sharing a foreign key [message #683028] |
Thu, 26 November 2020 21:25  |
 |
richard_blaq
Messages: 1 Registered: November 2020
|
Junior Member |
|
|
I am learning oracle SQL however I am finding it difficult to join two peculiar tables. I have a table A and a table B.
Table A's primary key (lets call this team_id) is a foreign key in table B but this foreign key is broken into two columns (B.home_team_id and B.away_team_id).
I would like to join this two tables together showing the seperate columns in table B.
|
|
|
|
|