ICode9

精准搜索请尝试: 精确搜索
  • SQL5 - 将查询后的列重新命名 - AS用法2022-08-30 01:03:53

    题目链接 戳这里 题解 为了代码更清楚,用 着重号 表名需要重新命名的列(如果列是 user infors example 的形式,一定要使用着重号,否则不会识别为一个整体字段) SELECT device_id AS `user_infos_example` FROM user_profile WHERE id<=2 -- 或用 LIMIT 2

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有