一个SQL语句的有关问题
一个SQL语句的问题 在线等
select uid from information where name = "asd" and pass="asd"
information 表中有三个列,里面有数据,要查询指定name 和 pass 的UID 上面的语句是否正确
如果错误,请更正一下 谢谢
------解决方案--------------------
双引号改单引号
select uid from information where name = "asd" and pass="asd"
information 表中有三个列,里面有数据,要查询指定name 和 pass 的UID 上面的语句是否正确
如果错误,请更正一下 谢谢
------解决方案--------------------
双引号改单引号