I am sorry I didn’t clarify my requirement properly.. I want the ‘n’ oldest records, however, they should sorted with the recent record first and I want this
to happen in the query itself so I don’t have to care about sorting through the application.. From: pgsql-general-owner@xxxxxxxxxxxxxx [mailto:pgsql-general-owner@xxxxxxxxxxxxxx]
On Behalf Of Moreno Andreo Il 30/03/2016 11:19, Deole, Pushkar (Pushkar) ha scritto:
so remove "desc", in order to have ascending ordering, thus first 5 records are the five oldest: |