situatie
Tabel:wedstrijd
records->uit_id,thuis_id,datum,wedstrijdnr
In uit en thuis staan de id's van teams
tabel: teams
records->id,teamnaam,club_id
tabel: club
records->id,clubnaam
nu wil ik het volgende uitvoer:
wedstrijdnr naamteam thuis(clubnaam) - naamteam uit(clubnaam) datum
hoe kan ik dit in 1 sql query verwerken ?
477 views