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

将查询后的列重新命名

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

select `device_id` as `user_infos_example`
    from `user_profile`
    limit 0,2;

别名的命名:

方法1:列名/表名 AS 别名,如:`device_id` as `user_infos_example`

方法2:列名/表名 别名,如:`device_id` 中间有空格 `user_infos_example`

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

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