1 select a.* from(select ROW_NUMBER() OVER(PARTITION BY 2 c.task_id ORDER BY c.submit_date DESC) rn, c.task_id, 3 c.submit_date,c.opinion,count(c.task_id) over (partition by 4 c.task_id) num from CRDS_VOTE_COUNT c) a where a.rn=1
1 select a.* from(select ROW_NUMBER() OVER(PARTITION BY 2 c.task_id ORDER BY c.submit_date DESC) rn, c.task_id, 3 c.submit_date,c.opinion,count(c.task_id) over (partition by 4 c.task_id) num from CRDS_VOTE_COUNT c) a where a.rn=1
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。