SQL语句中 as 的作用

as是别名的关键字,一般这样使用: select  字段  as  别名  from  表名

别名也可以这样定义:select  字段 别名  from  表名

给字段起别名的时候  as 可写可不写  (select  字段  as  别名  from  表名)相等于(select  字段 别名  from  表名)

起别名主要是为了其他开发人员方便看懂字段的含义。     

原文地址:https://www.cnblogs.com/brucexl/p/7216228.html