题解 | #将查询后的列重新命名#

将查询后的列重新命名

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

select device_id from user_profile where id <=2

这里有点问题,明明没能改列名,却说通过了

select device_id as user_infos_example from user_profile limit 2

应当需要加上as才是改名的

全部评论

相关推荐

05-22 09:23
门头沟学院 Java
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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