标签:
查询全部
select dwmc,pjdf,row_number() over(order by pjdf desc) as paiming from Sab_hhb_zhb inner join jgdx on jgdx.mid=Sab_hhb_zhb.mid
查询单个
select paiming from (select mid,pjdf,row_number() over(order by pjdf desc) as paiming from Sab_hhb_zhb ) Sab_hhb_zhb where Sab_hhb_zhb.mid=‘zys0519645‘
标签:
原文地址:http://www.cnblogs.com/njccqx/p/5756358.html