2017-07-09 3 views

Antwort

0

Sie müssen wahrscheinlich diese zu Ihrer WHERE Klausel hinzuzufügen:

and color is not null 
0

wenn ich richtig verstehe ich mich so etwas wie diese

SELECT DISTINCT color FROM `products` WHERE category IS NOT NULL; 

oder

SELECT DISTINCT color FROM `products`WHERE NOT (category <=> NULL); 
tun würde
Verwandte Themen