SELECT * FROM matches
JOIN countries on matches.Team1ID = countries.ID
WHERE matches.GamePlayed = 0 AND matches.Pool LIKE '%'
ORDER BY matches.KickOff DESC
I have this code and it works fine.
I want to get the country from the countries table for the Team2ID as well as Team1ID. If I add this I get an error
JOIN countries on matches.Team2ID = countries.ID
What can I do?