se ect * from (se ect 日期,trim(批号) as 批号,trim(岗位) as 岗位,trim(工序) as 工序, sum(实得工时) as 工时 from {RecordValue}) as a inner join (se ect 日期 as 产出日期, 盒数, 成品编码, 描述, 人工时间 as 总时间, 批号 from {batchper}) as b on a.批号=b.批号 group by a.工时
这里总是出错,怎么改?
改为工时、sum(实得工时)都是错的