📜  从 math_11a 表中找到前 3 名学生 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:14.484000             🧑  作者: Mango

代码示例1
select concat(first_name," ",last_name) as "top_3_leaders"
        from Students 
               inner join 
             (select student_id, sum(grades) as total from grades
              group by student_id
              order by sum(grades) desc
              limit 3
              ) as t1
where students.student_id = t1.student_id