Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Join query

TableRightJoin:

//NoConcatenate

Load * inline

[

A,B,C

1,aa,e

2,bb,f

3,cc,g

4,dd

]

;

Right Join(TableRightJoin)

TabRightJoin:

Load * inline

[

A,B,C

e,xx,x

f,yy,y

g,cc,z

5,tt

]

;

QUALIFY *;

TabRightJoin:

Load * Resident TableRightJoin;

UNQUALIFY *;

DROP Table TableRightJoin;

Exit Script;

My Output:

e     xx

f     yy

g     cc

5     tt

On what basis is the result working ? as the qualify *; is present I believe all the fields from table2 must come right?

e     xx     x

f     yy     y

g     cc     z

1 Solution

Accepted Solutions
sujeetsingh
Master III
Master III

Keys are not matching.

Why right why not natural join

if all the fields are same then use concatenate

View solution in original post

1 Reply
sujeetsingh
Master III
Master III

Keys are not matching.

Why right why not natural join

if all the fields are same then use concatenate