Skip to content
Advertisement

Doing a simple join on two tables

I have the following two tables:

team:

game:

I am trying to attain this output:

I can do a simple join to receive one of the team names, but how do I get both names in one query?

Advertisement

Answer

Try this:

You just need to join with the table “team” twice.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement