题解 | #查询结果去重#

将查询后的列重新命名

http://www.nowcoder.com/practice/0d8f49aeaf7a4e1cb7fecec980712113

两种办法

##查看前两个用户,使用in
##SELECT device_id as user_infos_example from user_profile limit 0,2;
select device_id as user_infos_example from user_profile where id in (1,2);
全部评论

相关推荐

10-29 18:20
济南大学 Java
用微笑面对困难:他不是人事吗,怎么净特么不干人事
点赞 评论 收藏
分享
迷茫的大四🐶:价格这么低都能满了?
点赞 评论 收藏
分享
评论
4
收藏
分享

创作者周榜

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