--列的别名只能在order by之后,其他地方不能使用

--select语句的执行顺序

--select 完整语序

--语法:

--5.select[字段列表] 5.1-》[字段列表],5.2-》distinct,5.3->top

--1.from[表名]

--2.where 条件

--3.group by

--4.having 筛选条件

--6.order by

--order by可以使用列的别名,是因为在第五步才给列起了别名,

--所以其他地方不能使用别名