摘要: 1.查询每个班级的前三名 result: SELECT * FROM sc aWHERE 3 > ( SELECT COUNT( * ) FROM scWHERE class = a.class AND score > a.score ) ORDER BY a.class , a.score DES 阅读全文
posted @ 2018-03-26 21:40 hongdada 阅读(215) 评论(0) 推荐(0) 编辑