I have this table
ID InvoiceNo Created_date
-- --------- ------------
1 123 1/1/2009
1 234 1/1/2010
1 2304 2/1/2010
1 av245 3/1/2011
1 45wd3 4/1/2011
2 345 1/1/2010
2 4w5 2/1/2010
I am trying to select the ID where there has been no activity since 11/1/2010.
so my results should only show ID 2.
I used EXISTS, NOT EXIST but it still shows ID 1. Any help is appreciated.
Not optimized for performance, but I would just do something like this:
quick and dirty alert