select * into 表名 from (select avg(lrwc) as lrwc from HT_LRTJ_T a left join bpminsttasks b on .taskid=b.taskid where b.state='Approved' and nian=年份-1
union all
select lrwc as a from HT_LRTJ_T a left join bpminsttasks b on .taskid=b.taskid where b.state='Approved' and yue=月-1)a