Look at this simple query
SELECT id FROM users
Now, say I wanted to have users with id
s ordered 4, 5, 7, 8, then I don't care about the middle, and finally I want the last ones to be 55, 56, 58.
So the returned rows would be something like this (\n a new row)
4 // explicitly chose these as the start rows
5 // " "
7 // " "
8 // " "
44 // these just come in any order (order not important)
23 // " "
10 // " "
55 // explicitly chose these as the end rows
56 // " "
58 // " "
How can I modify the query above to do this? Thanks