MarkB
12-20-2001, 05:40 AM
Hiyis,
How do I state in an SQL query that I want to get all results EXCEPT those with a particular value?
EG:
SELECT * FROM forum,othertable WHERE displayorder<>0 AND active=1 AND forumid!=othertablefield
This isn't working, so I'm assuming that's incorrect useage... IS it possible?
(ie, I want all results except those where forumid matches the value in othertablefield)
Thanks:)
Mark
How do I state in an SQL query that I want to get all results EXCEPT those with a particular value?
EG:
SELECT * FROM forum,othertable WHERE displayorder<>0 AND active=1 AND forumid!=othertablefield
This isn't working, so I'm assuming that's incorrect useage... IS it possible?
(ie, I want all results except those where forumid matches the value in othertablefield)
Thanks:)
Mark