Hallo allemaal,
IK heb drie tabellen: kast, plank, boek.
nu is de bedoelingdat je ziet: welk boek op welke plank staat en de plank in welke kast
Heb dit:
Alvast bedankt voor de hulp.
Niels.
IK heb drie tabellen: kast, plank, boek.
nu is de bedoelingdat je ziet: welk boek op welke plank staat en de plank in welke kast
Heb dit:
Code:
myCommand.CommandText = ("SELECT kast.kast_id,plank.plank_id,boek.boek_id" +
"FROM kast INNER JOIN plank ON plank.plank_id = kast.kast_id " +
"INNER JOIN boek ON boek.boek_id = kast.kast_id AND boek.boek_id = plank.plank_id ");
Alvast bedankt voor de hulp.
Niels.