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

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
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