Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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

Labels (1)
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