标签:des style color sp c r bs as oracle
select HSL.sortno,
HSL.B,
HSL.A,
row_number() over(order by sortno desc) xh
from (select t.B, t.A ,
case
when t.B = ‘股份公司‘ then
9999999
else
t.A end as sortno
from 表 t
) HSL
标签:des style color sp c r bs as oracle
原文地址:http://www.cnblogs.com/xuxin-1989/p/3979408.html