如何实现多表union后对字段的排序问题?? select bh from (select bh from tbl_a where ...... union select bh from tbl_b where ......) order by bh; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 哦,谢谢!!刚才我简化了,select bh ,price,qty ( select bh ,price,qty from tbl_a where ... union select bh ,price,qty from tbl_b where ...)order by bh 可以吗??即是union多表的多个字段,但只按某一个/几个字段排序,可以实现吗? sqlserver转oracle SQL中子查询返回多行,如何解决 数据库“联合索引创建规则”问题 Oracle字符转义 oracle8.1.6与oracle8.1.7问题? dmp是oracle数据格式吗? 子树查的多,现在遇到父亲树,谁曾经也遇到这样的树? 请问那里有oo4o驱动下载 这条sql 语句怎么写呀? 关于select 语句的问题。在线等待,立即加分! saloris怎么装? 在oracle中如何实现对多表动态where取记录并union后按某字段排序显示的实现方法问题??
select bh ,price,qty (
select bh ,price,qty from tbl_a where ...
union
select bh ,price,qty from tbl_b where ...
)
order by bh
可以吗??即是union多表的多个字段,但只按某一个/几个字段排序,可以实现吗?