Hi,
I have a table in the format below (with sample data)
tblquotes
QuoteID / PetType
123 / 16
123 / 16
123 / 17
456 / 14
789 / 15
How can I distinct rows where a PetType of 16 does not exist for a QuoteID? So my returned results would be :-
QuoteID
456
789
Thanks in advance
I have a table in the format below (with sample data)
tblquotes
QuoteID / PetType
123 / 16
123 / 16
123 / 17
456 / 14
789 / 15
How can I distinct rows where a PetType of 16 does not exist for a QuoteID? So my returned results would be :-
QuoteID
456
789
Thanks in advance