update fsc_score set
class_rank =(select class_number from (select "rank"() over(order by score desc ) class_number,* from fsc_score where type=3 and exam_id=1) t1 where fsc_score.id = t1.id);
java 学校成绩排序sql(pgsql)
猜你喜欢
转载自blog.csdn.net/damoneric_guo/article/details/105481660
今日推荐
周排行