Home >Backend Development >PHP Tutorial >mysql - phpmyadmin可视化删除数据生成的 sql 语句缺少条件

mysql - phpmyadmin可视化删除数据生成的 sql 语句缺少条件

WBOY
WBOYOriginal
2016-06-06 20:08:101151browse

插入数据会报错

<code>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 '1' at line 1,
</code>

但是数据会插入进去

使用 phpmyadmin 可视化删除数据库表中某条数据时会提示
mysql - phpmyadmin可视化删除数据生成的 sql 语句缺少条件
这条语句就已经错误了,求大神解救,

回复内容:

插入数据会报错

<code>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 '1' at line 1,
</code>

但是数据会插入进去

使用 phpmyadmin 可视化删除数据库表中某条数据时会提示
mysql - phpmyadmin可视化删除数据生成的 sql 语句缺少条件
这条语句就已经错误了,求大神解救,

说多无用,贴出你的代码啊

错就错了呗,你可以考虑换个phpmyadmin的版本,或者直接用命令行呗。这工具都快成标配了,没去研究过它的源码(也几乎没用过,不如命令行方便)。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn