当前位置:网站首页>查詢生產訂單中某個(些)工作中心對應的標准文本碼
查詢生產訂單中某個(些)工作中心對應的標准文本碼
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; |
边栏推荐
- Detailed summary of SQL injection
- Vulhub vulnerability recurrence 67_ Supervisor
- Go language -- language constants
- Solution of QT TCP packet sticking
- 04. Project blog log
- JS array list actual use summary
- Anti shake and throttling are easy to understand
- 【经验】UltralSO制作启动盘时报错:磁盘/映像容量太小
- 28io stream, byte output stream writes multiple bytes
- Embedded interview questions (I: process and thread)
猜你喜欢

Node 之 nvm 下载、安装、使用,以及node 、nrm 的相关使用

网站进行服务器迁移前应做好哪些准备?

How can large websites choose better virtual machine service providers?

JS array list actual use summary

Li Chuang EDA learning notes 12: common PCB board layout constraint principles

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

RustDesk 搭建一个自己的远程桌面中继服务器
【SQL server速成之路】——身份验证及建立和管理用户账户

Remember an error in MySQL: the user specified as a definer ('mysql.infoschema '@' localhost ') does not exist

Station B Liu Erden softmx classifier and MNIST implementation -structure 9
随机推荐
[QNX Hypervisor 2.2用户手册]6.3.3 使用共享内存(shmem)虚拟设备
05. Security of blog project
Solution of QT TCP packet sticking
[email protected] raspberry pie
First knowledge database
Safe mode on Windows
Note the various data set acquisition methods of jvxetable
Game push image / table /cv/nlp, multi-threaded start
Station B Liu Erden softmx classifier and MNIST implementation -structure 9
After the project is released, index Html is cached
Sword finger offer II 039 Maximum rectangular area of histogram
Processes and threads
Graduation design game mall
[cloud native] 3.1 kubernetes platform installation kubespher
CoDeSys note 2: set coil and reset coil
Jushan database appears again in the gold fair to jointly build a new era of digital economy
Check the useful photo lossless magnification software on Apple computer
Winter 2021 pat class B problem solution (C language)
[email protected]树莓派
04. 项目博客之日志