Created
November 11, 2013 07:32
-
-
Save asjustas/7409287 to your computer and use it in GitHub Desktop.
Select where in and order by in
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM table WHERE id IN (118,17,113,23,72) ORDER BY FIELD(id,118,17,113,23,72) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment