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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Select data from two tables

Hi Guys,

i have two tables like these:

 

A
B
1Y
2Y
3N

A
1
4
5

I'd like to have something like this:

A
B
1Y
2Y
3N
4
5

 

Can you help me please?

10 Replies
Not applicable
Author

Thank you so much; i made a mistake:

Operatori:

LOAD CF_OPERATORE as OPERATORE,

     TIPOLOGIA_OPERATORE

FROM

(biff, embedded labels, table is [Scarica foglio di lavoro$]);

join(Operatori)

LOAD EVENTO_CREATO_DA as OPERATORE;

SQL SELECT * FROM TBL_EVENTI E 

WHERE E.EVENTO_CREATO_DA NOT IN (SELECT operatore FROM tb_sospensioni S WHERE S.inizio_sospensione <= E.EVENTO_CREATO_IL AND S.fine_sospensione >= E.EVENTO_CREATO_IL);

NoConcatenate

LOAD OPERATORE,

IF(IsNull(TIPOLOGIA_OPERATORE),'NO_CCR',TIPOLOGIA_OPERATORE) as TIPOLOGIA_OPERATORE

/*IF(TIPOLOGIA_OPERATORE <>'',TIPOLOGIA_OPERATORE, 'NO_CCR') as TIPOLOGIA_OPERATORE*/

Resident Operatori;

Drop Table Operatori;