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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Left outer Join ???

Hi All

I need to Join 'Office Number' in A table with 'Office' in B table. How can I do left outer Join ??

A:

SQL SELECT

`New Code`,

`New Sub Code`,

`Office Name`,

`Office Number`,

FROM ` office codes`;

B:

SQL SELECT Month,

Office as [Office Number],

Week,

Year

FROM Total;

Thanks in advance.



4 Replies
deepakk
Partner - Specialist III
Partner - Specialist III

Hi,

A:

SQL SELECT

`New Code`,

`New Sub Code`,

`Office Name`,

`Office Number` as [Office Number],

FROM ` office codes`;

left join

SQL SELECT Month,

Office as [Office Number],

Week,

Year

FROM Total;

I hope this helps you out.

maneshkhottcpl
Partner - Creator III
Partner - Creator III

Hi, The Use of join is depend on situations, The left join used for full left data and matched right data.

It is used to join Master table (Secondary) with Transaction table(Main).

Not applicable
Author

Hi,

A:
load
`New Code`,

`New Sub Code`,

`Office Name`,

`Office Number`;
SQL SELECT *
FROM ` office codes`;

left join

load
Month,

Office as [Office Number],

Week,

Year;
SQL SELECT *

FROM Total;

Regards,

Ravi

Not applicable
Author

Many thanks for all your replies !!