How to make MYSQL query results ORDER BY conditions order?

Posted by Relax on Stack Overflow See other posts from Stack Overflow or by Relax
Published on 2010-04-10T09:49:10Z Indexed on 2010/04/10 9:53 UTC
Read the original article Hit count: 262

Filed under:
|
|

My query string is like:

SELECT ... FROM ...
WHERE (condition1 OR condition2 OR condition3)
AND ... //additional condition to filter results

For the results, i wanna entries meet condition1 get displayed first, then condition2, at last condition3, is it possible?

© Stack Overflow or respective owner

Related posts about mysql

Related posts about mysql-query