17,377
社区成员
发帖
与我相关
我的任务
分享
1.70~79
select bid,round(sum(case when score >= 70 and score < 80 then 0)/count(*)*100,2)||'%' percent
from A
group by bid;
2.70~80
select bid,round(sum(case when score >= 70 and score <= 80 then 0)/count(*)*100,2)||'%' percent
from A
group by bid
2.70~80
select bid,round(sum(case when score >= 70 and score <= 80 then 0)/count(*)*100,2)||'%' percent from A group by bid
1.70~79
select bid,round(sum(case when score >= 70 and score < 80 then 0)/count(*)*100,2)||'%' percent from A group by bid
2.70~79
select bid,round(sum(case when score >= 70 and score < 80 then 0)/count(*)*100,2)||'%' percent from A group by bid