Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
badamsrinivas
Contributor II
Contributor II

Wm posting one interview question

Below is one of the interview question..Please find below details

Inline * load[

id,region,sales
1,asia,2000
1,US,3000
2,UK,3900
3,africa,8000
3,south,23000

];

Inline * load[

id,region,sales
4,south,8999
5,east,8999
5,west,7788
1,east,9000
1,east,8999
] where not exist(id);

what is the output of id?

Labels (1)
2 Replies
badamsrinivas
Contributor II
Contributor II
Author

Please its important for me, plz answer below query..

 

load * inline[

id,region,sales
1,asia,2000
1,US,3000
2,UK,3900
3,africa,8000
3,south,23000

];

load * inline[

id,region,sales
4,south,8999
5,east,8999
5,west,7788
1,east,9000
1,east,8999
] where not exist(id);

what is the output of id?

durgesh22
Creator
Creator

Output table will have below records

id,region,sales

1,asia,2000
1,US,3000
2,UK,3900
3,africa,8000
3,south,23000

4,south,8999
5,east,8999