Select Distinct
SomeDay.SomeDayID, SomeDay.FolderName, SomeDay.FolderColor
from
SomeDay, SomeDayEvent
where
SomeDay.SomeDayID != 4,3,2,1;
You can not use !=
for multiple values for that you should use not in
like:
Select Distinct
SomeDay.SomeDayID,SomeDay.FolderName,SomeDay.FolderColor
from
SomeDay,SomeDayEvent
where
SomeDay.SomeDayID not in (4,3,2,1);
You can't separate values in the WHERE part by comma. You have to use the IN or BETWEEN keyword.
SomeDay.SomeDayID NOT IN (1,2,3,4)
or
SomeDay.SomeDayID NOT BETWEEN 1 AND 4
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With