查询excel中的值属于给定的一个集合时的代码
时间:2022-05-20 09:08:54
当查询的值属于给定的一个集合时,可以使用IN语句,不在给定的集合时,可以使用
NOT IN语句。
如果要查询客户所在城市在南京、杭州的信息,可以使用下面的代码:
SELECT*
FROM Customer
Where City IN(’南京’,’杭州’)
标签:可以使用,查询,给定,集合,Excel教程
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
Word2010技巧十二条助你一跃成高手
2022-06-15 11:24:29
Excel表格如何设置密码?
2022-06-02 02:17:30
![](https://img.aspxhome.com/file/2023/1/38031_0s.jpg)
excel表格中的表头怎么设置倾斜角度?
2023-07-09 08:52:12
![](https://img.aspxhome.com/file/2023/7/a141637_0s.jpg)
word怎么将A3页面设置成a4
2023-02-09 11:07:54
Win10间歇性卡顿是怎么回事?
2023-12-14 05:27:53
![](https://img.aspxhome.com/file/2023/4/51224_0s.jpg)
Excel函数公式:if函数的经典用法,必须码!
2022-04-08 20:57:34
![](https://img.aspxhome.com/file/2023/2/39032_0s.gif)
VLOOKUP完成同一部门多个员工信息查询
2022-12-03 02:39:02
![](https://img.aspxhome.com/file/2023/3/a142273_0s.gif)
word x的平均值怎么打
2023-04-29 06:08:27
![](https://img.aspxhome.com/file/2023/1/35431_0s.png)
如何在Word 2003文档中复制.剪切和粘贴表格
2023-12-12 10:06:00
![](https://img.aspxhome.com/file/2023/5/21115_0s.gif)
word打开visio图纸显示很小无法修改怎么办?
2022-12-03 16:34:07
![](https://img.aspxhome.com/file/2023/2/24342_0s.jpg)
Win10可以禁用的服务有哪些?Windows10哪些服务项可以禁用?
2023-05-26 12:45:37
![](https://img.aspxhome.com/file/2023/8/52568_0s.jpg)
新手怎么制作Excel表格?Excel表格制作教程介绍
2022-07-31 11:49:23
![](https://img.aspxhome.com/file/2023/9/42369_0s.jpg)
Word2010中定义编号格式
2023-12-13 13:11:22
![](https://img.aspxhome.com/file/2023/7/21347_0s.jpg)
word表格里怎么删除空白行列
2023-08-30 02:56:54
![](https://img.aspxhome.com/file/2023/4/34574_0s.gif)
iOS 14的快捷指令怎么用?
2023-10-27 18:12:26
![](https://img.aspxhome.com/file/2023/7/a194537_0s.png)
怎样在word中输入对号
2023-05-24 20:04:41
![](https://img.aspxhome.com/file/2023/1/29411_0s.jpg)
word如何设置边框和底纹
2022-09-12 17:52:45
Word怎么显示隐藏的标题3?
2023-12-06 15:11:51
![](https://img.aspxhome.com/file/2023/5/19725_0s.jpg)
Word中如何输入√和×符号
2022-01-18 05:30:04
![](https://img.aspxhome.com/file/2023/0/31670_0s.png)
Win10连接网络打印机错误709 安装KB5006672补丁打印机错误709
2022-10-20 15:29:01
![](https://img.aspxhome.com/file/2023/4/53064_0s.jpg)