Lakhbir.Bhatti (12/30/2008)
If any invoices matching to code AS0630 that showing me the invoices are paid and take it off my list.
select * from table as t
where not exists(select * from table where invoiceno=t.invoiceno and activity='AS0630')
Failing to plan is Planning to fail