On 24-Mar-2004 Henrik Schröder wrote:
<snip>

> No, I did not choose the sort order. No, I can not change the values
> used.
> Yes, it has to be this sort order. :-)
>

Best would be to use ENUM( '1','2','0')  ...

But otherwise -- 

  (membershiptype % 2) DESC, membershiptype DESC
  -- or --
  ELT(membershiptype + 1, '2', '0', '1') ASC
  -- or --
  MAKE_SET(membershiptype, 'a','b') DESC


Regards
-- 
Don Read                                     [EMAIL PROTECTED]
-- It's always darkest before the dawn. So if you are going to 
   steal the neighbor's newspaper, that's the time to do it.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to