网问答>>一道数据库的面试题?
问题
已解决

一道数据库的面试题?

时间:2020-07-10 15:23:07
问:查出平均分大于70的姓名。
最佳回答
看到这个题目首先想到的就是对基本函数的考核:如何求平均值,求出平均值如何筛选大于70的值,如何分组等等求平均值AVG(score),或者SUM(score)/submunselect name,AVG(score) from tab_sco group by name having AVG(score)70
时间:2020-07-10 15:23:11
大概就是这样婶儿的吧
时间:2020-07-10 15:23:14
本类最有帮助
Copyright © 2008-2013 www.wangwenda.com All rights reserved.冀ICP备12000710号-1
投诉邮箱: