I want to query where one field is the same and another field is different. For example, where invoice number field is the same and the vendor number field is different.
I got the first part as: In (SELECT [Invoice Number] FROM [combo] As Tmp GROUP BY [Invoice Number] HAVING Count(*)>1 ) but I can't figure out how to at the same time get where the vendor number field is different.
Any help is appreciated.
Thanks,