• select * from table1 where id not in (select id from table1 where status='rework')