I have this query:
SELECT * FROM Users;
Where I get back
id name ...
1 ...
2 ...
3 ...
4 ...
Now, what I want is to order the result I get back based on the id, and rotate the order based on that.
For example, lets say I want to sort based on the ID=3. What I want back is:
id name ...
3 ...
4 ...
1 ...
2 ...
Is this possible directly in MySQL, or do I have to do this server side?
I think simply: