CREATE cursor sdb (pc c(10),ph c(4),device c(18),site c(4),A64 i,A4F i) APPEND FROM all1.csv delimited SELECT pc 批次,ph 片号,DEVICE,SITE ,SUM(a64) Average_5V_0x640,SUM(a4f) Average_5V_0x4FB FROM sdb INTO CURSOR ndb GROUP BY pc,ph,device,site COPY TO hh.csv csv