使用select union all
select
‘1’ as count,
‘2’ as ratio,
‘’ as totalcount,
‘4’ as pertime,
‘5’ as baseLine
union all
select tCount.count,format(tCount.count/tTotal.totalcount*100,2) as ratio,tTotal.totalcount,
format(tAllTime.alltime/tTotal.totalcount,2) as pertime,tBaseLine.baseLine
from