# 先找排名,在根据排名挑选中位数 select a.id ,a.job ,a.score ,a.ranking from( select a.id ,a.job ,a.score ,a.total ,a.ranking ,round(if(a.total%2=0,total/2,(total+1)/2),0) as qian ,round(if(a.total%2=0,total/2+1,(total+1)/2),0) as hou from( select a.id ,a.job ,a.score ,b.total as total ,row_number() over(partitio...