When I execute a query from my application (Java JDBC), it is returning the row with seq 83 first. But I want the row with seq 84.
seq | dtCreated |
84 | 2009-09-14 16:16:23 |
83 | 2009-09-14 16:16:23 |
82 | 2009-09-14 16:15:01 |
Is this query correct ? I'm interpreting this to mean that if there are ties in dtCreated, sort using seq.
select * from mim order by dtCreated DESC, seq DESC;
Thanks