当前位置:网站首页>查询生产订单中某个(些)工作中心对应的标准文本码
查询生产订单中某个(些)工作中心对应的标准文本码
2022-07-06 05:42:00 【rarenmen】
写一段SQL,用来查询系统内实际发生的业务中,某一个或某一些工作中心,对应了哪些工序文本码。话不多说,请看代码。
| select crhd.arbpl, afvc.ktsch, afvc.ltxa1, count(*) from afvc --订单的工序 inner join afko --订单表头数据PP订单 on afko.aufpl = afvc.aufpl and afko.mandt = afvc.mandt left outer join CRHD --工作中心表头 on afvc.mandt = CRHD.mandt and afvc.arbid = crhd.objid where afvc.mandt = '600' and crhd.arbpl in ('WK1101', 'WK1102', 'WK1105') group by crhd.arbpl, afvc.ktsch, afvc.ltxa1 order by crhd.arbpl, afvc.ktsch, afvc.ltxa1; |
边栏推荐
- 【SQL server速成之路】——身份验证及建立和管理用户账户
- Sword finger offer II 039 Maximum rectangular area of histogram
- (column 22) typical column questions of C language: delete the specified letters in the string.
- 【经验】UltralSO制作启动盘时报错:磁盘/映像容量太小
- JS array list actual use summary
- [Jiudu OJ 08] simple search x
- Promise summary
- [cloud native] 3.1 kubernetes platform installation kubespher
- Promotion hung up! The leader said it wasn't my poor skills
- 59. Spiral matrix
猜你喜欢
随机推荐
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
UCF (2022 summer team competition I)
无代码六月大事件|2022无代码探索者大会即将召开;AI增强型无代码工具推出...
Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用
JDBC calls the stored procedure with call and reports an error
【经验】win11上安装visio
毕业设计游戏商城
After the project is released, index Html is cached
自建DNS服务器,客户端打开网页慢,解决办法
59. Spiral matrix
网站进行服务器迁移前应做好哪些准备?
Unity Vector3. Use and calculation principle of reflect
Detailed summary of SQL injection
Go language -- language constants
(column 22) typical column questions of C language: delete the specified letters in the string.
Embedded interview questions (IV. common algorithms)
Analysis of grammar elements in turtle Library
ArcGIS application foundation 4 thematic map making
What impact will frequent job hopping have on your career?
The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
![[Tang Laoshi] C -- encapsulation: classes and objects](/img/4e/30d2d4652ea2d4cd5fa7cbbb795863.jpg)








