I have an sql command that is:
SELECT *
FROM `tattoos`
ORDER BY id DESC
LIMIT 176 ,5
I want to order the result asc.
So at first i get
176 177 178 179 180
But I want it to be
180 179 178 176 175
i dont want all the result to be in a different order so
SELECT *
FROM `tattoos`
ORDER BY id ASC
LIMIT 176 ,5
will not work because i will get other results from the query.
I already tried
SELECT *
FROM `tattoos`
ORDER BY id DESC, id asc
LIMIT 176 , 8
but that wont change my results.
1 Answer