I have a simple question. In MySQL, consider a row "n", how can we order rows by id (for example), but start from the row "n+1" and end to the row "n-1" ?
Thanks !
EDIT : I ommit to precise that I seek the query in MySQL.
From an answer below, here an example :
ID
---
1
2
3
4 <--N
5
6
I want Desired Results ordered as follows
5 <--N + 1
6
1
2
3 <--N - 1