题解 | #数值的整数次方#

查询结果去重

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

一般distinct就可以,运行时间:53ms,占用内存:7544kb 其实group by也可以,运行时间:38ms,占用内存:6740kb

#SELECT DISTINCT university from user_profile
SELECT university FROM user_profile GROUP BY university
全部评论

相关推荐

评论
10
收藏
分享

创作者周榜

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