This query work fine but how i can use join instead of subquery ?
SELECT
games.id,
games.team_home,
games.score_home,
games.team_away,
games.score_away,
(SELECT teams.name FROM teams WHERE teams.id=games.team_home ) as t1,
(SELECT teams.name FROM teams WHERE teams.id=games.team_away ) as t2
FROM
games, teams
WHERE
games.date_game = '2018-06-15'
GROUP BY
games.id