##
select item, value from stats where jobid=273118 and try=1
##
##
select owner, count(*) as n from stats where try=1 group by owner order by n
##
##
foreach (keys %hash) {
$dbi->do('insert into stats (jobid,try,item,value) (?,?,?,?)',$jobid, $try, $_, $hash{$_});
}