题解 | #查询结果去重#

查询结果去重

https://www.nowcoder.com/practice/82ebd89f12cf48efba0fecb392e193dd

题目要点:实现对某一列的值进行去重

select university from user_profile group by university
select distinct university from user_profile

group by将得到结果分组,实现去重效果

distinct关键字直接去重

全部评论

相关推荐

2025-12-17 17:15
华东师范大学 运营
点赞 评论 收藏
分享
评论
3
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务