Cardinality left outer join CDS Part 8 ABAP on HANA Course

  Рет қаралды 10,916

SAP TECHNOMANIAC

SAP TECHNOMANIAC

Күн бұрын

Left outer join to many or Left outer joins works:-
Relationship 1:N :- it will create a join even if we don't fetch data from the RHS table
Relationship N:1 l:- it will not create a join if we don't fetch data from the RHS table
1:N and N:1 is the relationship between the LHS table and the RHS table
*******************************************************************************
Relationship 1:N behaves differently for "Left outer to one join" :-
Select no contain any fields from RHS then optimization takes place join will not form
Aggregate functions like count(*) is used then optimization takes place join will not form
***************************************************************************
Code:-
saptechnomania...

Пікірлер: 25
@GauravSingh-lz8mb
@GauravSingh-lz8mb Жыл бұрын
I don't think there is anyone else who can explain this matter as deep as you have done, If someone like is not uderstanding the Cardinality and Joins on data base level please watch carefully Part 8 to Part 12. I am waching it for the second time and enjoying it a lot. thanks a lot.
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC Жыл бұрын
You are right Gourav it might be difficult at first glance but once we understand we never stuck in association in future.
@bharathreddyk30
@bharathreddyk30 3 ай бұрын
True..
@ansumanbehera8150
@ansumanbehera8150 Ай бұрын
just one query to ask. at video time 21:51 the SQL trace shows that the join is one to many in native hana trace while the CDS Entity mentioned is left outer to one join vbap as _itm. how both screen showing different things. Kindly clarify.
@raginitrainings755
@raginitrainings755 16 күн бұрын
Since we are fetching fields from RHS table (join happend its clear, also if you notice in output we got multiple SO items even though we mentione join to one, becasue when we fetch fieds from RHS, SQL query runs on DB join to many so multiple so items in output, thatsy its shows one-to-many in screen..I think) hope its clear..
@sree8652
@sree8652 4 ай бұрын
when you execute the table the results are not refreshed right..how will i solve that problem
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC 4 ай бұрын
Clear the console and then execute OR your result will be at the end of the console If you are talking about console result. If table result not updating due to new column addition then re execute the table.
@123MRPOCO
@123MRPOCO Жыл бұрын
if compared one to one join @16:00 and one to many @18:00, still we can see duplicate entries !!. Can you please correct if anythg unnoticed?
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC Жыл бұрын
It's due to I didn't clear console before displaying next result ... It was previous execution data new execution data below the previous execution data ..... When you display the result in console it will not clear existing data in console and just append the result after previous result. what you can see on screen both the time @16:00 and @18:00 both are older execution result . My mistake is that I didn't focus on quesy result showing, I was focusing on to show how join his happening ... According to join only the result will come...
@diwakarsap
@diwakarsap 10 ай бұрын
Hi Ram, Firstly thanks for the explanation!. it was very much helpful for us. One question is incase of N:1 left outer join, join did not happen on VBAK(RHS table). which we saw on the ST05 too, understood. Fundamentally we will get to know that VBAP is an item table, will have either 1 or more entries when compared with VBAK, but how will system get to know that it is an N:1 left outer join only?.
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC 9 ай бұрын
Foreign key relationship between these tables
@bithin14
@bithin14 11 ай бұрын
Brilliant and deep explanations... Kudos 👌
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC 11 ай бұрын
Glad you liked it
@rajeshsalapu8338
@rajeshsalapu8338 Жыл бұрын
Good Explanation Sir .Thank you !!!
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC Жыл бұрын
Glad you liked it
@pavan341210
@pavan341210 Жыл бұрын
thank you for your videos.. very helpful
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC Жыл бұрын
You are welcome!
@ManojSharma-lr3jh
@ManojSharma-lr3jh Жыл бұрын
Osm video bro 😎.Good job
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC Жыл бұрын
Thank you ...
@sandeepakumari8582
@sandeepakumari8582 11 ай бұрын
nice video'
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC 11 ай бұрын
Thanks
@SathiyaNatarajan-fe6vb
@SathiyaNatarajan-fe6vb Жыл бұрын
Nice video
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC Жыл бұрын
Thanks
@saumyanair8413
@saumyanair8413 2 жыл бұрын
Good content.
@SAPTECHNOMANIAC
@SAPTECHNOMANIAC 2 жыл бұрын
Appreciated
Association in cds view abap CDS Part 9 ABAP on HANA Course
18:42
SAP TECHNOMANIAC
Рет қаралды 19 М.
Cardinality in CDS view PART 10 ABAP on HANA Course
30:10
SAP TECHNOMANIAC
Рет қаралды 10 М.
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 4,7 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 23 МЛН
когда не обедаешь в школе // EVA mash
00:57
EVA mash
Рет қаралды 3,7 МЛН
Association to Inner Join CDS PART 11 ABAP on HANA Course
27:49
SAP TECHNOMANIAC
Рет қаралды 9 М.
Video - 6  CDS  Views Joins (Inner, left outer and right outer)
22:39
Path Expression in CDS association  PART 12 ABAP on HANA Course
42:10
SAP TECHNOMANIAC
Рет қаралды 8 М.
CDS View with input parameters Part 7 ABAP on HANA Course
21:55
SAP TECHNOMANIAC
Рет қаралды 13 М.
AMDP ( ABAP Managed Database Procedure ) Part - 1
45:55
SAP TECHNOMANIAC
Рет қаралды 24 М.
Association in Select Query (SQL) CDS Part 13 ABAP on HANA Course
35:52
Cardinality
11:33
Pankaj Kumar - SAP Tech Trainer
Рет қаралды 1 М.
CDS Limitation | The association cannot be used locally in the view (see long text)
15:32
Pankaj Kumar - SAP Tech Trainer
Рет қаралды 4,1 М.
Офицер, я всё объясню
01:00
История одного вокалиста
Рет қаралды 4,7 МЛН