题解 | #计算男生人数以及平均GPA#

计算男生人数以及平均GPA

https://www.nowcoder.com/practice/7d9a7b2d6b4241dbb5e5066d7549ca01

select count(gender) male_num,round(avg(ifnull(gpa,0)),1) avg_gpa
from user_profile
where gender='male'
全部评论

相关推荐

移动信息技术中心 金种子 50+n w
点赞 评论 收藏
转发
点赞 收藏 评论
分享
牛客网
牛客企业服务