SQL语句出错:select * from products where CateId in(2,15,29,) and if(MyOrder>0, MyOrder, if(MyOrder=0, 1000000, 1000001))='1000000' and ProId>'' order by ProId 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 ') and if(MyOrder>0, MyOrder, if(MyOrder=0, 1000000, 1000001))='1000000' and ProI' at line 1