Guest User

Untitled

a guest
Jun 28th, 2016
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. SELECT
  2. *
  3. FROM
  4. tbl
  5. ORDER BY
  6. IF(FIELD(id, 128, 59, 70, 293, 19) = 0, 65536, FIELD(id, 128, 59, 70, 293, 19))
  7.  
  8. SELECT
  9. *
  10. FROM
  11. tbl
  12. ORDER BY
  13. FIELD(id, 19, 293, 70, 59, 128) DESC, name;
Add Comment
Please, Sign In to add comment