> wie komme ich an alle autos, die sowohl mitarbeiter 1, 2 UND 3 fahren > d�rfen.
Vorausgesetzt jedes p��rchen in tabelle 3 ist einzigartig, geht sowas in der art (ungetestet): SELECT table1.autoname FROM table1 INNER JOIN table3 ON table3.fk_autoid = table1.autoid WHERE table3.fk_mitarbeiterid IN (1,2,3) HAVING COUNT(table3.fk_mitarbeiterid)=3 GROUP BY table1.autoname Claudius ~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~ Kaffeepause im United Planet Communityserver ... http://www.intrexx.com/communityserver _______________________________________________ Coffeehouse mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/coffeehouse
