select 'query3', batch, loaddt, min(c1), max(c1), count(c1), count(c2), count(c3), count(c4), count(c5) 
from test009
where c1 > 0 
group by 1, 2, 3
order by 2; 

