猫猫西瓜 10:08:22
标准的sql语言里面 有state in 的语句
但在access中是无法使用的,有替代的方法吗?
例如 我写 select * from customer as c where c.name state in ('张三','李四')
就是state in 不是标准代码 无法识别
如果要在 access中写 就要变成 select * from customer as c where c.name ='张三' or c.name ='李四'
有办法写成我上面那种的格式吗?
Accessoft--麥田 10:14:21
state in 就写成in
猫猫西瓜 10:14:32
我尝试一下
Accessoft--麥田 10:15:21
即尝试一下写成
select * from customer where name in ('张三','李四')
猫猫西瓜 10:16:01
我会excel的vba 但access好像复杂点
猫猫西瓜 10:19:27
select * from customer where name in ('张三','李四') 这个真的行 哈哈~~~~感谢拉