select count(*), rz, dbSys from oa1p.tqz050cmd where tst > current timestamp - 1 month group by rz, dbsys