SQL语句出错:select Category,UId,CateId,SeoTitle,SeoKeywords,SeoDescription,PageUrl,Dept from product_category where CateId= order by 1 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 1 limit 1' at line 1SQL语句出错:select * from product where 1 and (MyOrder> or (MyOrder= and ProId>)) order by MyOrder asc, 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 'or (MyOrder= and ProId>)) order by MyOrder asc, ProId asc limit 1' at line 1SQL语句出错:select * from product where 1 and (MyOrder< or (MyOrder= and ProId<)) order by MyOrder desc, ProId desc 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 'or (MyOrder= and ProId<)) order by MyOrder desc, ProId desc limit 1' at line 1