1.select tanggal, staffid, sum(l+p) as lp, sum(rp1+rp2+rp3) as rp, sum(patok) as patok, sum(kg) as kg from tblkebun_lhkh_local12 where (tblkebun_lhkh_local12.pekerjaanid>0) group by staffid order by tblkebun_lhkh_local12.staffid
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0
2.0