当前位置:网站首页>查询生产订单中某个(些)工作中心对应的标准文本码
查询生产订单中某个(些)工作中心对应的标准文本码
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; |
边栏推荐
- 05. 博客项目之安全
- RustDesk 搭建一个自己的远程桌面中继服务器
- Game push: image / table /cv/nlp, multi-threaded start!
- Web Security (VI) the use of session and the difference between session and cookie
- LeetCode_ String inversion_ Simple_ 557. Reverse word III in string
- Notes, continuation, escape and other symbols
- 数字经济破浪而来 ,LTD是权益独立的Web3.0网站?
- [machine learning notes] univariate linear regression principle, formula and code implementation
- Unity Vector3. Use and calculation principle of reflect
- 【华为机试真题详解】检查是否存在满足条件的数字组合
猜你喜欢
04. Project blog log
Vulhub vulnerability recurrence 69_ Tiki Wiki
05. Security of blog project
Vulhub vulnerability recurrence 67_ Supervisor
ARTS Week 25
Installation de la Bibliothèque de processus PDK - csmc
Remember an error in MySQL: the user specified as a definer ('mysql.infoschema '@' localhost ') does not exist
清除浮动的方式
SequoiaDB湖仓一体分布式数据库2022.6月刊
大型网站如何选择比较好的云主机服务商?
随机推荐
P2802 回家
Jushan database appears again in the gold fair to jointly build a new era of digital economy
Vulhub vulnerability recurrence 67_ Supervisor
[machine learning notes] univariate linear regression principle, formula and code implementation
初识数据库
无代码六月大事件|2022无代码探索者大会即将召开;AI增强型无代码工具推出...
Embedded interview questions (I: process and thread)
[QNX hypervisor 2.2 user manual]6.3.3 using shared memory (shmem) virtual devices
C Advanced - data storage (Part 1)
LeetCode_ String inversion_ Simple_ 557. Reverse word III in string
【torch】|torch.nn.utils.clip_grad_norm_
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
【华为机试真题详解】检查是否存在满足条件的数字组合
05. 博客项目之安全
27io stream, byte output stream, OutputStream writes data to file
指針經典筆試題
剑指 Offer II 039. 直方图最大矩形面积
C进阶-数据的存储(上)
Vulhub vulnerability recurrence 73_ Webmin
【经验】UltralSO制作启动盘时报错:磁盘/映像容量太小