Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: Issue with the Full Outer join

$
0
0

Hi Krishna,

 

Whenever we trigger "Full outer join" on top of multiple tables with reference to a common column from both tables. The result set will contain both the columns(common columns). see below.

 

select * from "CUSTOMER" AS T1 FULL OUTER JOIN "ORDERS"AS T2 ON T1."CUSTOMERID" = T2."CUSTOMERID"

FULL_OUTER_SUPER_QUERY.PNG

In above query--> column1 "CustomerID" coming from T1 table and column4 "CustomerID" coming from T2 table.

 

in your question you were trying to retrieve the data of "CustomerID" from T1 table.That's why you were missing "C5" entry.

 

I hope this explanation will help you.

 

Thanks & regards,

sai krishna.


Viewing all articles
Browse latest Browse all 8968

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>