If I have two records where one of the column field is having same value, I have to exclude all the records if status in column 2 is N for any of the records
Col1 Col2 col3
123 Y US
123 Z UK
123 N UK
For the above case need to exclude all the 3 records as status is N for one of the records Col2
Col1 Col2 col3
123 Y US
123 Z UK
123 N UK
For the above case need to exclude all the 3 records as status is N for one of the records Col2