select * from (select b.ID, b.Version,row_number() over(partition by OSCAR_CASE_ID order by VERSION desc) rn from TD_ADVERSE_EVENT b where b.status = 2)
where rn=1
oracle over partition by
猜你喜欢
转载自cunningfox.iteye.com/blog/2267806
今日推荐
周排行