数据查询出错,错误信息已记录,
并反馈给管理员。请返回重试!
select * from demo_product4 where isvalid=1 and orders> and pid=0 order by orders asc, id desc limit 1
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 pid=0 order by orders asc, id desc limit 1' at line 1 (1064)