当前位置:网站首页>Query the standard text code corresponding to a work center (s) in the production order
Query the standard text code corresponding to a work center (s) in the production order
2022-07-06 05:43:00 【rarenmen】
Write a paragraph SQL, Used to query the actual business in the system , One or some work centers , Which operation text codes are corresponding . Don't talk much , Please look at the code. .
select crhd.arbpl, afvc.ktsch, afvc.ltxa1, count(*) from afvc -- Operation of order inner join afko -- Order header data PP Order on afko.aufpl = afvc.aufpl and afko.mandt = afvc.mandt left outer join CRHD -- Work center header 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; |
边栏推荐
- Game push: image / table /cv/nlp, multi-threaded start!
- 05. Security of blog project
- 03. 开发博客项目之登录
- 数字经济破浪而来 ,LTD是权益独立的Web3.0网站?
- P2802 go home
- 备忘一下jvxetable的各种数据集获取方法
- Algorithm -- climbing stairs (kotlin)
- Li Chuang EDA learning notes 12: common PCB board layout constraint principles
- [QNX Hypervisor 2.2用户手册]6.3.3 使用共享内存(shmem)虚拟设备
- 26file filter anonymous inner class and lambda optimization
猜你喜欢
04. Project blog log
P2802 回家
[Jiudu OJ 07] folding basket
【云原生】3.1 Kubernetes平台安装KubeSpher
Yygh-11-timing statistics
ArcGIS application foundation 4 thematic map making
Application Security Series 37: log injection
CoDeSys note 2: set coil and reset coil
02. Develop data storage of blog project
【torch】|torch.nn.utils.clip_grad_norm_
随机推荐
华为路由器如何配置静态路由
【华为机试真题详解】检查是否存在满足条件的数字组合
P2802 go home
03. 开发博客项目之登录
Sword finger offer II 039 Maximum rectangular area of histogram
Classes and objects (I) detailed explanation of this pointer
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
入侵检测领域数据集总结
Clear floating mode
Auto. JS learning notes 17: basic listening events and UI simple click event operations
嵌入式面试题(一:进程与线程)
[detailed explanation of Huawei machine test] statistics of shooting competition results
无代码六月大事件|2022无代码探索者大会即将召开;AI增强型无代码工具推出...
[machine learning notes] univariate linear regression principle, formula and code implementation
(column 22) typical column questions of C language: delete the specified letters in the string.
[email protected]树莓派
Migrate Infones to stm32
01. 开发博客项目之项目介绍
Vulhub vulnerability recurrence 73_ Webmin
Auto.js学习笔记17:基础监听事件和UI简单的点击事件操作