I'm having a problem where I want a result set to come out in the order of the IN.
SELECT userid,username
FROM user
WHERE userid IN (3,2,4)
and regardless of the ORDER BY or GROUP BY that I do, for some reason the resultset will always be 2,3,4. I'd like to get it in the order that it...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.