MySQL Forums
Forum List  »  German

Re: Schnittmenge in WHERE-clause?
Posted by: Sebastian Gläßel
Date: January 13, 2009 06:35AM

Achso sry^^ wie ist es mit einer AND verknüpfung? Die sollte eigentlich das gewünschte Ergebnis liefern.

SELECT * FROM t1 WHERE
id IN (SELECT id_t1 FROM tmn WHERE id_t2 = 1 AND id_t2 = 4 AND id_t2 = 8 )

Ansonsten bin ich jetzt völlig daneben und sollte besser gar nichts mehr sagen^^

Options: ReplyQuote


Subject
Views
Written By
Posted
7919
January 10, 2009 03:03PM
4123
January 10, 2009 05:21PM
Re: Schnittmenge in WHERE-clause?
2936
January 13, 2009 06:35AM
2841
January 14, 2009 08:26AM
3071
January 27, 2009 05:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.