Cita:
¿Como diferencio el id de t1 de el id de t2 por ejemplo? select * from matches
inner join teams as t1 on matches.localTeam=t1.id
inner join teams as t2 on matches.visitingTeam=t2.id
inner join reservations as r on matches.id=r.refered
inner join teams as t1 on matches.localTeam=t1.id
inner join teams as t2 on matches.visitingTeam=t2.id
inner join reservations as r on matches.id=r.refered