probier das mal: select ID from tabelleA where art NOT IN (select art from tabelleA Where Count(art) > 1)
----- Original Message ----- From: "Christoph Schmid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 20, 2004 12:00 AM Subject: Re: [Coffeehouse] Select verschachteln > > >also richtig verstanden habe ich es immer noch nicht. > > > > > > hier ein Beispiel: > > ID Art > 1 55 > 2 56 > 3 57 > 4 55 > > Ist m�chte man z.B. ID1 und ID4 in eine seperate Tabelle speichern. Da > sie aber die gleicht Art haben, soll das nicht ausgef�hrt werden. Wenn > man aber ID2 und ID3 einf�gen m�chte, ist das erlaubt, weil die Art > anders ist. > Die zweite Tabelle h�tte dann also die Eintr�ge: > > 2 3 > > Gruss Christoph > _______________________________________________ > Coffeehouse Mailingliste, Postings senden an: > [EMAIL PROTECTED] > An-/Abmeldung und Suchfunktion unter: > http://www.glengamoi.com/mailman/listinfo/coffeehouse > _______________________________________________ Coffeehouse Mailingliste, Postings senden an: [EMAIL PROTECTED] An-/Abmeldung und Suchfunktion unter: http://www.glengamoi.com/mailman/listinfo/coffeehouse
