Can you demonstrate what you want to occur? Suppose you have the below sample data, please list the data you expect your query to return:
TPIN, ID
abc, 1
def, 2
ghi, 1
abc, 2
def, 2
If TPIN = 100 , then even if in a combo there 5 customers with 100 , the combo must return only one