首页 > 学院 > 开发设计 > 正文

mysql Error:1052 Column 'xxx' in where clause is ambiguous

2019-11-08 20:30:22
字体:
来源:转载
供稿:网友

Integrity constraint violation: 1052 Column 'deleted' in where clause is ambiguous

MySQL查询的时候出现这个错误提示多半是因为:

1.多表查询的时候几个表中同时出现了某个相同的列名,而在查询条件WHERE后面又没有指定是那个表。

2.查询结果里面有两个相同的列名,而没有指定是哪个表。


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表