题目链接
题解
为了代码更清楚,用 着重号 表名需要重新命名的列(如果列是 user infors example 的形式,一定要使用着重号,否则不会识别为一个整体字段)
SELECT device_id AS `user_infos_example`
FROM user_profile
WHERE id<=2 -- 或用 LIMIT 2
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/283028.html