我有一张桌子,我只按 ID 顺序显示最新的 30 行。
我正在尝试使用下面的查询删除 30 个最新行之后的所有行。
DELETE FROM table WHERE type = 'test' ORDER BY id DESC LIMIT 30, 60
我在下面不断收到此错误
#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 ' 60' at line 1
我究竟做错了什么?