Is it available to write a query to use same \"LIMIT (from), (count)\", but get result in backwards?
In example if I have 8 rows in the table and I want to get 5 row
Let's say we have a table with a column time and you want the last 5 entries, but you want them returned to you in asc order, not desc, this is how you do it:
select * from ( select * from `table` order by `time` desc limit 5 ) t order by `time` asc