1: 2: 3:
Select distinct T.SubjectID From Sample_Table as T Where Not Exists (Select Subject_ID From Sample_Table Where Current = 'Y' And Sample_Table.Subject_ID = T.Subject_ID)