Foxtable(狐表)用户栏目专家坐堂 → inner join 和group by 报错


  共有1496人关注过本帖树形打印复制链接

主题:inner join 和group by 报错

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:110743 积分:563641 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2024/7/12 10:07:00 [显示全部帖子]

se ect * from (se ect 日期,trim(批号) as 批号,trim(岗位) as 岗位,trim(工序) as 工序, sum(实得工时) as 工时 from {RecordValue} group by 工时,批号,岗位,工序) as a inner join (se ect 日期 as 产出日期, 盒数, 成品编码, 描述, 人工时间 as 总时间, 批号 from {batchper}) as b on a.批号=b.批号 

 回到顶部