SqlServer对select * from (select *from table) 支持 SELECT * FROM ( SELECT * FROM table ) ttt 只要这个临时表起一个别名。这样就可以在一个SELECT语句中访问这个临时表了。