select id, truncate((iteration-1)/100, 0) grp,  min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start),  max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results  from test006_query where id=1 group by 1,2 order by 1;

select id, truncate((iteration-1)/100, 0) grp,  min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start),  max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results  from test006_query where id=2 group by 1,2 order by 1;

select id, truncate((iteration-1)/100, 0) grp,  min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start),  max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results  from test006_query where id=3 group by 1,2 order by 1;

select id, truncate((iteration-1)/100, 0) grp,  min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start),  max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results  from test006_query where id=4 group by 1,2 order by 1;

select id, truncate((iteration-1)/100, 0) grp,  min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start),  max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results  from test006_query where id=5 group by 1,2 order by 1;

select id, truncate((iteration-1)/100, 0) grp,  min(iteration), max(iteration), count(*), timediff(max(stop), min(stop)) tm, min(start),  max(PrimProcMem) PrimProc, max(ExeMgrMem) ExeMgr, max(rowsReturned) maxRows, if(max(err)=1,'yes','no') errs, if(min(correctResults)=1,'good','bad') results  from test006_query where id=6 group by 1,2 order by 1;
