以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  列字段筛选  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=31426)

--  作者:gaoshr
--  发布时间:2013/4/15 7:43:00
--  列字段筛选
表DD有A,B,C列,A列内容a,b,c,d,e,B列内容为b,e,现希望将A列与B列内容的差异项作为C列内容,表达式该如何书写?select A from{DD} where A <> B不行啊。
[此贴子已经被作者于2013-4-15 7:46:26编辑过]

--  作者:gaoshr
--  发布时间:2013/4/15 14:07:00
--  列字段筛选
select A from{DD} where A not in (select B from {DD})

不行啊,提示syntax error: Missing operand after \'A\' operator.

请指教。


--  作者:Bin
--  发布时间:2013/4/15 14:26:00
--  
你的列名是否是A  还是A列?  加中括号 [A] 看看