SQL语句出错:select UId 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 ProId, PicPath, Price_0, Price_1, IsNew, Stock from product where CateId in ) and IsHot='1' and SoldOut='0' and Language=3 and IsVip!=1 order by MyOrder desc, ProId desc limit 0, 8
错误代码:#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 IsHot='1' and SoldOut='0' and Language=3 and IsVip!=1 order by MyOrder des' at line 1