当前位置:Gxlcms > 数据库问题 > ORACLE union order by

ORACLE union order by

时间:2021-07-01 10:21:17 帮助过:2人阅读

select * from (
select a.id,a.oacode,a.custid,a.custname,a.xsz,a.salename,a.communicationtheme,a.communicationproperty,a.communicationtime,a.productmanager,a.creator,a.createdate from technology_flow a 
where a.oastate='正常结束'
union 
select b.id,b.oacode,b.custid,b.custname,b.xsz,b.salename,b.communicationtheme,b.communicationproperty,b.communicationtime,b.productmanager,b.creator,b.createdate  from technology_support b
) t order by t.oacode desc

版权声明:本文博主原创文章,博客,未经同意不得转载。

ORACLE union order by

标签:

人气教程排行