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 listorder LIMIT 2' at line 1
sql命令写错了,你的“listorder”字段有没有写错?我试了下这个sql命令,操作没有问题
“order by listorder”要求listorder必须为数字属性,查看一下listorder属性是否正确,或者是order by 其他字段的。。。