1select matches.*, home_teams.name as home_team, away_teams.name as away_team, *
2from @blt.ultimate_soccer_dataset.matches matches
3inner join @blt.ultimate_soccer_dataset.teams home_teams ON (matches.home_team_id = home_teams.team_id)
4inner join @blt.ultimate_soccer_dataset.teams away_teams ON (matches.away_team_id = away_teams.team_id)
5where matches.match_id = '9fdc13ab-d0b2-53ed-a26a-be578b2b217f'