当前位置:网站首页>查詢生產訂單中某個(些)工作中心對應的標准文本碼
查詢生產訂單中某個(些)工作中心對應的標准文本碼
2022-07-06 05:43: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; |
边栏推荐
- First knowledge database
- HAC cluster modifying administrator user password
- Deep learning -yolov5 introduction to actual combat click data set training
- 初识数据库
- 毕业设计游戏商城
- Station B Liu Erden softmx classifier and MNIST implementation -structure 9
- RustDesk 搭建一个自己的远程桌面中继服务器
- PDK工艺库安装-CSMC
- A master in the field of software architecture -- Reading Notes of the beauty of Architecture
- 59. Spiral matrix
猜你喜欢
[email protected]树莓派"/>
[email protected]树莓派
27io stream, byte output stream, OutputStream writes data to file
Zoom and pan image in Photoshop 2022
What is independent IP and how about independent IP host?
[cloud native] 3.1 kubernetes platform installation kubespher
B站刘二大人-反向传播
[experience] install Visio on win11
02. 开发博客项目之数据存储
Installation de la Bibliothèque de processus PDK - csmc
实践分享:如何安全快速地从 Centos迁移到openEuler
随机推荐
Qt TCP 分包粘包的解决方法
【SQL server速成之路】——身份验证及建立和管理用户账户
03. 开发博客项目之登录
27io stream, byte output stream, OutputStream writes data to file
Web Security (VI) the use of session and the difference between session and cookie
Migrate Infones to stm32
Redis消息队列
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
The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?
Luogu [Beginner Level 4] array p1427 number game of small fish
实践分享:如何安全快速地从 Centos迁移到openEuler
Pay attention to the details of pytoch code, and it is easy to make mistakes
Easy to understand IIC protocol explanation
Vulhub vulnerability recurrence 72_ uWSGI
Safe mode on Windows
C Advanced - data storage (Part 1)
Problems encountered in installing mysql8 on MAC
Game push: image / table /cv/nlp, multi-threaded start!
Installation de la Bibliothèque de processus PDK - csmc
Vulhub vulnerability recurrence 69_ Tiki Wiki