当前位置:网站首页>查询生产订单中某个(些)工作中心对应的标准文本码
查询生产订单中某个(些)工作中心对应的标准文本码
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; |
边栏推荐
- 毕业设计游戏商城
- Unity Vector3. Use and calculation principle of reflect
- How can large websites choose better virtual machine service providers?
- P2802 回家
- PDK工藝庫安裝-CSMC
- Safe mode on Windows
- Yygh-11-timing statistics
- 什么是独立IP,独立IP主机怎么样?
- 27io stream, byte output stream, OutputStream writes data to file
- AUTOSAR从入门到精通番外篇(十)-嵌入式S19文件解析
猜你喜欢
注释、接续、转义等符号
进程和线程
Unity Vector3. Use and calculation principle of reflect
[Jiudu OJ 07] folding basket
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
B站刘二大人-反向传播
Migrate Infones to stm32
[experience] install Visio on win11
01. Project introduction of blog development project
[SQL Server fast track] - authentication and establishment and management of user accounts
随机推荐
Summary of deep learning tuning tricks
How to use PHP string query function
First acquaintance with CDN
UCF (summer team competition II)
05. Security of blog project
01. 开发博客项目之项目介绍
YYGH-11-定时统计
Embedded interview questions (IV. common algorithms)
【torch】|torch. nn. utils. clip_ grad_ norm_
[detailed explanation of Huawei machine test] check whether there is a digital combination that meets the conditions
Redis message queue
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
嵌入式面试题(四、常见算法)
【SQL server速成之路】——身份验证及建立和管理用户账户
网站进行服务器迁移前应做好哪些准备?
Redis消息队列
Codeless June event 2022 codeless Explorer conference will be held soon; AI enhanced codeless tool launched
PDK工艺库安装-CSMC
Text classification still stays at Bert? The dual contrast learning framework is too strong
自建DNS服务器,客户端打开网页慢,解决办法