随笔分类 -  数据库

摘要:1、统计及格与不及格的人数 select count(case when score>=60 then 1 end)及格, count(case when score<60 then 1 end)不及格 from table 2、统计各班(或者各门课)及格与不及格人数 select cid, sum 阅读全文
posted @ 2018-09-22 19:21 菩提本无树呀~ 阅读(153) 评论(0) 推荐(0)