题解 5 | #将查询后的列重新命名#
【分类】:重命名、as
分析思路
select 查询结果 [设备ID as user_info_example]
from 从哪张表中查找数据 [user_profile]
limit 定义输出数据集的行 [前两行]
求解代码
select
device_id as user_info_example
from user_profile
limit 2
【分类】:重命名、as
select 查询结果 [设备ID as user_info_example]
from 从哪张表中查找数据 [user_profile]
limit 定义输出数据集的行 [前两行]
select
device_id as user_info_example
from user_profile
limit 2
相关推荐