当前位置:网站首页>查询生产订单中某个(些)工作中心对应的标准文本码
查询生产订单中某个(些)工作中心对应的标准文本码
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; |
边栏推荐
- [QNX Hypervisor 2.2用户手册]6.3.3 使用共享内存(shmem)虚拟设备
- Graduation design game mall
- 【华为机试真题详解】检查是否存在满足条件的数字组合
- Web Security (V) what is a session? Why do I need a session?
- 进程和线程
- 初识CDN
- Yygh-11-timing statistics
- Download, install and use NVM of node, and related use of node and NRM
- Sword finger offer II 039 Maximum rectangular area of histogram
- Huawei od computer test question 2
猜你喜欢

自建DNS服务器,客户端打开网页慢,解决办法

04. Project blog log

C Advanced - data storage (Part 1)

27io stream, byte output stream, OutputStream writes data to file
![[experience] install Visio on win11](/img/f5/42bd597340d0aed9bfd13620bb0885.png)
[experience] install Visio on win11

Redis消息队列

JS array list actual use summary

Vulhub vulnerability recurrence 69_ Tiki Wiki

The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?

P2802 回家
随机推荐
[email protected] raspberry pie
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
【华为机试真题详解】检查是否存在满足条件的数字组合
Summary of deep learning tuning tricks
UCF (summer team competition II)
实践分享:如何安全快速地从 Centos迁移到openEuler
通讯录管理系统链表实现
[imgui] unity MenuItem shortcut key
JS array list actual use summary
【SQL server速成之路】——身份验证及建立和管理用户账户
Quantitative description of ANC noise reduction
Vulhub vulnerability recurrence 67_ Supervisor
Qt TCP 分包粘包的解决方法
应用安全系列之三十七:日志注入
[Jiudu OJ 07] folding basket
LeetCode_字符串反转_简单_557. 反转字符串中的单词 III
P2802 回家
算法-- 爬楼梯(Kotlin)
Go language -- language constants
Notes, continuation, escape and other symbols