sql 语句with table as () select * from table

例如:with t_rowtable
as
(
select row_number() over(order by Age) as [Row Number by Age],* from Person
)
select [Row Number by Age],FirstName,Age from t_rowtable where [Row Number by Age]>1 and [Row Number by Age]< 4 order by Agewith table as () select * from table 这语句具体是干嘛的呢?

查询 表中年龄2-3 的 姓名,年龄
温馨提示:答案为网友推荐,仅供参考
第1个回答  2013-05-21
百度一下 sql with as,有with as用法的详细介绍,学习体会一下吧,希望对你有所帮助。
相似回答