热线电话:13121318867

登录
2020-03-16 阅读量: 942
sql中一条语句是不是只能有一个where

不是的

比如这条语句:select a.id form table a as a  where a.id in(select b.id from table b as b where b.id='1');这个语句有多个where,但是要注意需要注意的是在一个select字句里面不能有多个where存在。

0.0000
2
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子