Thans for your help.
I couldnt quite get it to work so I used some nested Select statements
SELECT GAME.GAME_ID
,GAME.DATE
,GAME.GAME_STATUS
,GAME.HOME_TEAM_ID
,(SELECT TEAMs.TEAM_NAME FROM TEAMs WHERE GAME.HOME_TEAM_ID = TEAMs.TEAM_ID) AS HOME_TEAM...
This is probably an easy one. I am fairly new to this.
Here is what I have
I am working with three tables right now
a Teams table which lists Team names and their ID's
In another table I have games listed with Visiting teams and Home teams IDs, as well gameDate, Status, etc.
I am working on...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.