• select * from myTable where BatchID not in (select BatchID from myTable where Status = 'Rework')

    Ryan Randall

    Solutions are easy. Understanding the problem, now, that's the hard part.