SQL_256
出现三次以上相同积分的情况
https://www.nowcoder.com/practice/c69ac94335744480aa50646864b7f24d
方法一:
思路:分组,求相同积分数量>=3
代码:
select number from grade g group by g.number having count(number) >= 3;
出现三次以上相同积分的情况
https://www.nowcoder.com/practice/c69ac94335744480aa50646864b7f24d
方法一:
思路:分组,求相同积分数量>=3
代码:
select number from grade g group by g.number having count(number) >= 3;
相关推荐