MySQL统计所有成绩都在90分的姓名
答案:2 悬赏:30 手机版
解决时间 2021-11-26 21:54
- 提问者网友:活着好累
- 2021-11-26 10:42
MySQL统计所有成绩都在90分的姓名
最佳答案
- 五星知识达人网友:走死在岁月里
- 2021-11-26 11:59
SELECt stuname,COUNT(0) from student where stuscore>90 GROUP BY stuname HAVINg COUNT(0)>2;
SELECt stuname from (SELECt MIN(stuscore) b,stuname from student GROUP BY stuname) a where b>90;
SELECt stuname from (SELECt MIN(stuscore) b,stuname from student GROUP BY stuname) a where b>90;
全部回答
- 1楼网友:山河有幸埋战骨
- 2021-11-26 12:36
select * from tablename where score >90
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯