当前位置:网站首页>查詢生產訂單中某個(些)工作中心對應的標准文本碼
查詢生產訂單中某個(些)工作中心對應的標准文本碼
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; |
边栏推荐
- 实践分享:如何安全快速地从 Centos迁移到openEuler
- What impact will frequent job hopping have on your career?
- C Advanced - data storage (Part 1)
- 02. Develop data storage of blog project
- After the project is released, index Html is cached
- HAC cluster modifying administrator user password
- jdbc使用call调用存储过程报错
- Vulhub vulnerability recurrence 68_ ThinkPHP
- Installation de la Bibliothèque de processus PDK - csmc
- Garbage collector with serial, throughput priority and response time priority
猜你喜欢
Download, install and use NVM of node, and related use of node and NRM
03. Login of development blog project
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
ArcGIS应用基础4 专题图的制作
Station B Liu Erden - linear regression and gradient descent
The digital economy has broken through the waves. Is Ltd a Web3.0 website with independent rights and interests?
Station B, Master Liu Er - dataset and data loading
04. 项目博客之日志
What impact will frequent job hopping have on your career?
CoDeSys note 2: set coil and reset coil
随机推荐
HAC集群修改管理员用户密码
P2802 go home
B站刘二大人-多元逻辑回归 Lecture 7
Station B Liu Erden softmx classifier and MNIST implementation -structure 9
03. Login of development blog project
02. Develop data storage of blog project
Check the useful photo lossless magnification software on Apple computer
Vulhub vulnerability recurrence 68_ ThinkPHP
29io stream, byte output stream continue write line feed
YYGH-11-定时统计
RustDesk 搭建一个自己的远程桌面中继服务器
Sword finger offer II 039 Maximum rectangular area of histogram
嵌入式面试题(四、常见算法)
Classes and objects (I) detailed explanation of this pointer
[Tang Laoshi] C -- encapsulation: classes and objects
59. Spiral matrix
05. Security of blog project
B站刘二大人-数据集及数据加载 Lecture 8
Station B, Mr. Liu Er - multiple logistic regression, structure 7
How to use PHP string query function