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

将查询后的列重新命名

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

select
    device_id
from
    user_profile
where
    id = 1
    or id = 2;

alter table user_profile change column device_id user_infos_example int not null;

全部评论

相关推荐

评论
1
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务