关于多表查询问题? select T.* from (select a.* from table1 a inner join table2 b on a.id=b.id)T order by T.id 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from(select * from 表1union allselect * from 表2) twhere 条件order by 字段 楼主应该是这个意思吧Select * from Table1 Where 条件Union AllSelect * from Table2 Where 条件Order By 字段 我们的回答就是你要的啊Select * from 表1 Where 字段1='a'Union AllSelect * from 表2 Where 字段1='a'Order By 排序字段 sql server如何进行数据库同步 冰天雪地跪地求教 Access与SQL Windows XP2下sql 2000 安装最后老提示配置服务器失败! 在线等答案 !!! 在Sql server中如何为表中的数据生成insert语句? 简单问题,为什么我的存储过程在MSSQL2000上能跑,7.0的不行? linkeserver oracle 报错 请指点 请教一查询怎么写? 存储过程的返回值 存储过程中事务的问题 如何用delphi在SQL的image字段里存储问题(非常急)希望高手指点 请教对查询结果进运算的问题
(
select * from 表1
union all
select * from 表2
) t
where 条件
order by 字段
Union All
Select * from Table2 Where 条件
Order By 字段
Union All
Select * from 表2 Where 字段1='a'
Order By 排序字段