我的问题太简单了
找到了,[QUOTE]select * from table where field='条件' union all select * from table2 where field='条件'
把条件写两遍即可
select * from (select * from table union all select * from table2 ) as a where a.field='条件'
写一遍也可以[/QUOTE]
这样的问题,为什么不用存储过程,简单化而且用起来方便.