I have to find a SELECT DISTINCT [COL1] from {TABLE}
there can find all from [COL1] there have 'A' in [COL2] but not 'B' in [COL2]
In this case '3' and '4' should be the result
TABLE
[COL1] [COL2]
---- ----
'1' 'A'
'1' 'B'
'1' 'C'
'2' 'B'
'2' 'C'
'3' 'A'
'3' 'C'
'4' 'A'
'4' 'D'
Or