当前位置:网站首页>Join in ABAP CDs
Join in ABAP CDs
2022-06-24 16:16:00 【a handsome young man.】
CDS Supported by join Yes :
- Inner Join
define view ztest_cds3 as select from sflight as _sf
inner join spfli as _spf
on _sf.carrid = _spf.carrid
and _sf.connid = _spf.connid{
_sf.carrid,
_sf.connid,
_sf.fldate,
_sf.price,
_spf.countryf
}
Inner Join The returned result is table sflight And spfli The intersection between
- Left outer join
define view ztest_cds3 as select from sflight as _sf
left outer join spfli as _spf
on _sf.carrid = _spf.carrid
and _sf.connid = _spf.connid{
_sf.carrid,
_sf.connid,
_sf.fldate,
_sf.price,
_spf.countryf
}
LEFT OUTER JOIN Return to left table sflight All rows and right table spfli Satisfy ON The conditions are right , If the left watch sflight The row of is in the right table spfli There is no match in , Then the right table of this row spfli The corresponding data in is NULL Instead of .
LEFT OUTER JOIN Generate left table sflight Complete works , The right table spfli The match in the has a value , If there's no match, take null Value substitution .
- Right outer join
define view ztest_cds3 as select from sflight as _sf
right outer join spfli as _spf
on _sf.carrid = _spf.carrid
and _sf.connid = _spf.connid{
_sf.carrid,
_sf.connid,
_sf.fldate,
_sf.price,
_spf.countryf
}
RIGHT OUTER JOIN Return to the right table spfli All rows and left table sflight Satisfy ON The conditions are right , If the right table spfli The row of is in the left table sflight There is no match in , So this business The left table sflight The corresponding data in is NULL Instead of .
RIGHT Outer JOIN Generate right table spfli Complete works , And the left table sflight The match in the has a value , If there's no match, take null Value substitution .
- Cross join
define view ztest_cds3 as select from sflight
cross join spfli{
sflight.carrid,
spfli.connid
}where sflight.carrid = 'AA'
cross join Returns the Cartesian product of two tables . If not where Conditions , The resulting data will be very large .
边栏推荐
- Interpretation of swin transformer source code
- Install the imagemagick7.1 library and the imageick extension for PHP
- SIGGRAPH 2022 | 真实还原手部肌肉,数字人双手这次有了骨骼、肌肉、皮肤
- 2021-04-25: given an array arr and a positive number m, the
- My network relationship with "apifox"
- 山金期货安全么?期货开户都是哪些流程?期货手续费怎么降低?
- 【应用推荐】最近大火的Apifox & Apipost 上手体验与选型建议
- Convert text to hexadecimal, and reverse
- 存在安全隐患 路虎召回部分混动揽运
- [log service CLS] Tencent cloud log4j/logback log collection best practices
猜你喜欢

C. K-th Not Divisible by n(数学+思维) Codeforces Round #640 (Div. 4)

一文详解JackSon配置信息

C. Three displays(动态规划)Codeforces Round #485 (Div. 2)
MySQL進階系列:鎖-InnoDB中鎖的情况

Here comes Wi Fi 7. How strong is it?

CAP:多重注意力机制,有趣的细粒度分类方案 | AAAI 2021
![[interview high frequency questions] sequential DP questions with difficulty of 3/5 and direct construction](/img/32/720ffa63a90cd5d37460face3fde38.png)
[interview high frequency questions] sequential DP questions with difficulty of 3/5 and direct construction

Solution of intelligent all in one machine in expressway service area

Cap: multiple attention mechanism, interesting fine-grained classification scheme | AAAI 2021

我与“Apifox”的网络情缘
随机推荐
The equipment is connected to the easycvr platform through the national standard gb28181. How to solve the problem of disconnection?
Some adventurer hybrid versions with potential safety hazards will be recalled
【Prometheus】2. Overview and deployment
Step by step import RHEL image to Tencent cloud
Transpose convolution explanation
leetcode 139. Word Break 單詞拆分(中等)
Linux record -4.22 MySQL 5.37 installation (supplementary)
PyTorch中的转置卷积详解
I just came back from the Ali software test. I worked for Alibaba P7 in 3+1, with an annual salary of 28*15
Is Shanjin futures safe? What are the procedures for opening futures accounts? How to reduce the futures commission?
Global and Chinese markets of stainless steel barbecue ovens 2022-2028: Research Report on technology, participants, trends, market size and share
One article explains Jackson configuration information in detail
SQL multi table updating data is very slow
Global and Chinese markets of natural insect repellents 2022-2028: Research Report on technology, participants, trends, market size and share
SIGGRAPH 2022 | 真实还原手部肌肉,数字人双手这次有了骨骼、肌肉、皮肤
【Prometheus】4. Monitoring cases
[cloud native | kubernetes chapter] Introduction to kubernetes Foundation (III)
2021-04-18: given a two-dimensional array matrix, the value in it is either 1 or 0,
How does the effective date of SAP PP ECM affect the work order?
B. Ternary Sequence(思维+贪心)Codeforces Round #665 (Div. 2)