奥礼网
新记
SQL中“in”关键字组成的条件格式;它组成的条件表达式的含义
如题所述
举报该文章
相关建议 2017-11-13
in 关键字组成的 条件格式,类似与or ,如下sql所示
select * from [表名] where [列名] in ('a','b','c')
/*等价于以下sql脚本*/
select * from [表名] where [列名] ='a'
union all
select * from [表名] where [列名] ='b'
union all
select * from [表名] where [列名] ='c'
温馨提示:内容为网友见解,仅供参考
当前网址:
https://aolonic.com/aa/g44ngdggdagag4g4ng.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
sql server中的关键字in和on有什么区别?
sql server中的关键字in和on有什么区别
sql中怎么实现多个like条件的过滤,select b. ...
如何得到SQL查询条件中不满足条件的记录
使用SpringMVC + MongoDB时,用or条件匹配...
如何在excel中用条件格式将一列中符合条件相关的一整行凸显...
EXCEL中如何在两个不同的工作表中设置条件格式
excel07,设置好的条件格式后,更换表格中数字,要求条件...