题解 | #将查询后的列重新命名#
将查询后的列重新命名
https://www.nowcoder.com/practice/0d8f49aeaf7a4e1cb7fecec980712113
select device_id 'user_infos_example' from (
select device_id,rank() over(order by id) rk from user_profile
) u
where u.rk<3;
将查询后的列重新命名
https://www.nowcoder.com/practice/0d8f49aeaf7a4e1cb7fecec980712113
select device_id 'user_infos_example' from (
select device_id,rank() over(order by id) rk from user_profile
) u
where u.rk<3;
相关推荐