当前位置:网站首页>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; |
边栏推荐
- C进阶-数据的存储(上)
- ArcGIS application foundation 4 thematic map making
- Zoom through the mouse wheel
- Web Security (VI) the use of session and the difference between session and cookie
- What impact will frequent job hopping have on your career?
- ARTS Week 25
- Promise summary
- JS array list actual use summary
- Huawei od computer test question 2
- Game push: image / table /cv/nlp, multi-threaded start!
猜你喜欢

05. 博客项目之安全

02. 开发博客项目之数据存储

59. Spiral matrix

What preparations should be made for website server migration?

01. Project introduction of blog development project

什么是独立IP,独立IP主机怎么样?

27io stream, byte output stream, OutputStream writes data to file

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

ARTS Week 25

Problems encountered in installing mysql8 on MAC
随机推荐
Summary of deep learning tuning tricks
什么是独立IP,独立IP主机怎么样?
27io stream, byte output stream, OutputStream writes data to file
Note the various data set acquisition methods of jvxetable
[force buckle]43 String multiplication
Installation de la Bibliothèque de processus PDK - csmc
[string] palindrome string of codeup
Problems encountered in installing mysql8 on MAC
Easy to understand IIC protocol explanation
Jushan database appears again in the gold fair to jointly build a new era of digital economy
备忘一下jvxetable的各种数据集获取方法
Promotion hung up! The leader said it wasn't my poor skills
03. 开发博客项目之登录
AUTOSAR from getting started to becoming proficient (10) - embedded S19 file analysis
Rustdesk builds its own remote desktop relay server
[Jiudu OJ 07] folding basket
算法-- 爬楼梯(Kotlin)
Safe mode on Windows
嵌入式面试题(四、常见算法)
Game push: image / table /cv/nlp, multi-threaded start!