Mysql常见面试题(1)

1、每门课都大于80分的学生姓名 select name from table1 GROUP BY name having min(fenshu)>80;(推荐) select DISTINCT name from table1 where name not in (select DISTINCT name from table1 where fenshu<=80); 2、删除除了编号不同,其他都
相关文章
相关标签/搜索