运维网's Archiver
论坛
›
MySQL运维
› mysql查询语句出错提示Unknown column 'zp' in 'where clause'
zhoujun.g
发表于 2016-10-24 09:55:50
mysql查询语句出错提示Unknown column 'zp' in 'where clause'
出现以上错的解决办法
如把select * from book where username=zp
这个改为
select * from book where username=’zp‘
就可以了,这样才是查询字符串型的
页:
[1]
查看完整版本:
mysql查询语句出错提示Unknown column 'zp' in 'where clause'