SQL语句出错:select * from info where InfoId = order by if(MyOrder>0, if(MyOrder=999, 1000001, MyOrder), 1000000) asc,CateId asc limit 1
错误代码:#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order by if(MyOrder>0, if(MyOrder=999, 1000001, MyOrder), 1000000) asc,CateId as' at line 1