摘要: 方式一:select * from 学生表 where 姓名 in(select 姓名 from 学生表 group by 姓名 having count(姓名)>=2) 分析:from 学生表 :找到要查询的表名, where 姓名 in:过滤条件让姓名符合小括号里面内容 group by 姓名 阅读全文
posted @ 2020-09-04 10:36 Amber- 阅读(9668) 评论(0) 推荐(0) 编辑