select * from db1,db2 where db1.col='1' or db2.col='1'错在哪儿? 两张foxpro的表,结构一样,我把它们凡是col='1'的记录全搜出来,这样写结果不对,该怎么写才行啊 ? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 当然不对。select * from db1 where col = '1' union allselect * from db2 where col = '1' 或是select * from db1,db2 where db1.col=db2.col and db1.col=1 and db1.col=1 where db1.col=1 and db1.col=db2.col就可以了! ListView的Caption和SubItems如何统一起来? [Error] File not found: 'dxBarStrs.res' 简单问题 treeview问题,在线等 新手求助:这个用什么控件? 请教用delphi写注册表问题,在线等待! 寻能画简单电路图控件,还有能够输入一些公式的控件。 delphi在网络上的应用 哪有大量DSPack使用实例?英文的也可以 請高手出手幫忙!!!(高分相送,進者有分) 问你一个问题,关于Delphi的网络编程的!(内详) 那有delphi7的升级版
union all
select * from db2 where col = '1'
select * from db1,db2 where db1.col=db2.col and db1.col=1 and db1.col=1
就可以了!