2020-11-12
阅读量:
672
一个SQL语句中是否只可以有一个where语句?
问题详述:一个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)


暂无数据
推荐帖子
1条评论
0条评论
0条评论