I am trying to only get records back when the inspector (lbal_inspectedby) is not the same as any of the inspectors in the query. So,
SELECT * FROM LBAppraisalLocation WHERE lbal_appraisalid=xxxx AND lbal_inspectedby IS NOT THE SAME AS ANY OF THE OTHERS?????
So if the table looked like this
ID lbal_appraisalid lbal_inspectedby
1 4000 2
2 4000 14
3 4000 2
then my query should only return
ID lbal_appraisalid lbal_inspectedby
1 4000 2
2 4000 14
How can I do this?
Start Free Trial