摘要: 查询各科成绩前三名的记录 分析如下: 1 select s.* from (select distinct Student.*,a.c_id, a.s_score, count( distinct b.s_score)+1 as rank 2 from Score a 3 left join Sco 阅读全文
posted @ 2020-11-20 19:19 #Lorraine# 阅读(3072) 评论(0) 推荐(0) 编辑