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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how will i join differnt column name in two tables

two table are present in the database both have the same field but with different names.

how will i join both(table name- summary_pcs and x)

test:
SQL SELECT * FROM summary_pcs;

//store Qlikview Table from memory to disk

store test into E:\qlikview\test.qvd (qvd);

LOAD
CHARGING_PROFILE_TYPE_ID,timestamp(EVENT_DATE,'DD/MMYY'),CONTENT_PROFILE_ID,CONTENT_ID,APC_QUERY_NOT_OK_COUNT
FROM test.QVD (QVD);

Labels (1)
1 Reply
Miguel_Angel_Baeyens
Support
Support

Hello,

I feel I'm missing something, anyway, a join should look like

TablefromDatabase:LOAD KeyField, Field1, Field2;SQL SELECT KeyField, Field1, Field2FROM Table1; TablefromFile: // Not needed, used for clarifying codeINNER JOIN LOAD FileFieldKey AS KeyField, Field3, Field4FROM File.qvd (qvd);


Renaming the field will allow you to join correctly both tables.

Hope this helps