很有效的提升统计查询速度,对于数据量亿级、千万级多表之间关联查询,非常有效;
--无需定义临时表,直接使用 --自动释放临时表 select ... into #tmp from yourtable ... select name from #temp_tab;