我就来一个通俗易懂,不需要妙解仅需要知道case...when...then...end就好了。我是没想到它可以在where上使用,TQL另外临时表真的是一个好东西啊,让代码清晰化with t as ( select id, job, score, row_number() over(partition by job order by score desc) as t_rank, count(job) over(partition by job) as job_num from grade ) ...