From: "Matthias Teege" <matthias@mteege.de>
> Moin,
>
> is there any way to get the last x records of an query
> result?
>
> I can use "... order by x DESC LIMIT n" but I need ASC not
> DESC, the last records in the correct order.
If you know how many records there are you could use "LIMIT n OFFSET m"
where m = number of records - n
Otherwise, the only thing that I can think of is to set up a view that does
the LIMIT n on a DESC then sort ASC when selecting on that view - might
work.
- Richard Huxton