每当我按下PHPMyAdmin上的Edit
键时,我都会收到以下错误:
#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 'LIMIT 0, 30' at line 1
它所引用的查询是PHPMyAdmin的内置函数,所以我不明白为什么会失败。这是以下查询:
SELECT * FROM `self`.`Condition` WHERE LIMIT 0, 30
答案 0 :(得分:0)
您的语法错误。试试这个
SELECT * FROM `table-name` WHERE `Condition` LIMIT 0, 30
示例
SELECT * FROM `Orders` WHERE `company-name="HP"` LIMIT 0, 30