摘要: 采用分析函数row_number()select * from( select a.*,row_number() over (partition by column1 order by column2 [desc]) as rn from table1) qwhere rn = 1其中,part... 阅读全文
posted @ 2015-01-30 12:28 残虾寄居所 阅读(456) 评论(0) 推荐(0) 编辑