Oh boy, where do I start.
I am trying to use a JOIN (of whatever type) to look for the records within a table (call it "biglist") that are not in another table (call it "smalllist").
So, if in biglist I have rec1, rec2, rec3, rec4, rec5 and in smalllist I have rec1, rec2, rec3. I want my sql to return rec4, rec5.
The fields are biglist.field1, biglist.field2, smalllist.field1, smalllist.field2
I tried the following:
SELECT DISTINCT biglist.field1, biglist.field2 FROM biglist LEFT JOIN smalllist ON (biglist.field1 != smalllist.field1)
Needless to say "IT DIDN'T WORK - aaarrrggghhh!!!"
I got a list of all of the distinct field1 and field2 from biglist
I have also tried LEFT OUTER JOIN but same result.
Thanks loads in advance. This is really bugging me and I need to finish it or I'll go insane.
Regards
Paul