Basically, I'm trying to do the same thing as the person asking this question but the first anwser by 'aF' uses FROM in a way I've never seen.
SELECT
t1.team_name as team1,
t2.team_name as team2,
t.team_1, t.team_2
FROM trades t
INNER JOIN teams t1 ON t1.id = t.team_1
INNER JOIN teams t2 ON t2.id = t.team_2;
I've never seen a FROM statement with two arguments after it and just a space between them, and it's making it difficult to understand the answer. What does it mean?