select 'query1', batch, loaddt, min(c1), max(c1), count(c1), count(c2), count(c3), count(c4), count(c5) 
from test008
where batch > 0 and loaddt >= subtime(now(), 800)
group by 1, 2, 3
order by 2; 

