I have a table like this:
Sequence ID Date other fields
1 23 2012-01-01
2 23 2012-02-03
3 23 2012-02-02
4 45 2012-01-01
5 45 2012-01-02
6 52 2012-01-01
7 52 2012-03-01
.. ...
I need a query that returns me rows that have inversed dates(there is a higher sequence with an older date
in example abow it should return rowq with sequence 2 and 3. For id 23, Seq 2 has date newer that sequence no 3.
Thanks
1 Answer