Hallo Dirk,
habe ein kleines SQL-Problem (MySQL 3.23.56), zu dem ich überhaupt keinen sinnvollen Lösungsansatz finde: Ich will aus der unteren Tabelle alle Produkte filtern, die in rot und grün verfügbar sind.
SELECT DISTINCT Produkt,Farbe FORM tabelle WHERE Farbe='rot' OR Farbe='grün'
sollte helfen (was es mit DISTINCT auf sich hat, steht in http://www.mysql.de/doc/de/Selecting_columns.html).
Grüße aus Nürnberg
Tobias
--
Selfcode: sh:( fo:) ch:? rl:( br:< n4:& ie:% mo:| va:) de:] zu:) fl:( ss:| ls:[ js:|
Selfcode: sh:( fo:) ch:? rl:( br:< n4:& ie:% mo:| va:) de:] zu:) fl:( ss:| ls:[ js:|