select * from products_attr where CateId in() and UId='0,14,' order by if(MyOrder>0, MyOrder, if(MyOrder=0, 1000000, 1000001)) asc,CateId asc 连接数据表错误 错误代码: 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 ') and UId='0,14,' order by if(MyOrder>0, MyOrder, if(MyOrder=0, 1000000, 1000001' at line 1