select device_id as user_infos_example from user_profile limit 2;
select device_id as user_infos_example /使用 select 语句选择需要的字段(device_id),并通过 as关键字对列进行重命名。
from user_profile /通过 from 子句指定从 user_profile 表获取数据。
limit 2; /使用限制结果集行数的方法获取前 2 条记录
select device_id as user_infos_example from user_profile limit 2;
select device_id as user_infos_example /使用 select 语句选择需要的字段(device_id),并通过 as关键字对列进行重命名。
from user_profile /通过 from 子句指定从 user_profile 表获取数据。
limit 2; /使用限制结果集行数的方法获取前 2 条记录