Мой текущий запрос:
Select Distinct SomeDay.SomeDayID, SomeDay.FolderName, SomeDay.FolderColor from SomeDay, SomeDayEvent where SomeDay.SomeDayID != 4,3,2,1;
Я думаю, что вы хотите:
Select Distinct SomeDay.SomeDayID, SomeDay.FolderName, SomeDay.FolderColor from SomeDay, SomeDayEvent where SomeDay.SomeDayID not in (4,3,2,1)
Это ваша проблема только на основе.
Select Distinct SomeDay.SomeDayID, SomeDay.FolderName, SomeDay.FolderColor from SomeDay, SomeDayEvent where SomeDay.SomeDayID>4;
Это должно быть что-то вроде
Select Distinct SomeDay.SomeDayID, SomeDay.FolderName, SomeDay.FolderColor from SomeDay, SomeDayEvent where SomeDay.SomeDayID != 4 and SomeDay.SomeDayID != 3 and SomeDay.SomeDayID != 2 and SomeDay.SomeDayID != 1;