
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
help on exists with multiple fields
Hi All,
Please help on this below scenario.
I've been trying to write where not exists in the script
but not getting desired output what exactly am looking for.
Output:
In the data model it should show
PFA for your reference!!
Any suggestions will be appreciated.
Thanks in advance!!
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PFA

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it worked.
Thank you!!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tresesco I need one more clarification in addition to that
master1:
load*,
edu&'|'&level as key
Inline
[
edu, level
grd, 3
pgrd, 4
mba, 5
btech, 6
be, 7
sslc, 1
intr, 2
mca, 8
];
NoConcatenate
master:
load* ,
edu&'|'&level as key
Inline
[
edu, level
grd, 3
pgrd, 4
mba, 5
btech, 6
be, 7
sslc, 1
intr, 2
mca, 9
]
Where not Exists(key,edu&'|'&level);
dROP Table master1;
Here my desired output shold be as below
How can we achieve this???

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try like:
master:
load *,
1 as Match1
Inline
[
edu, level
grd, 3
pgrd, 4
mba, 5
btech, 6
be, 7
sslc, 1
intr, 2
mca, 8
];
Join
load *
, 1 as Match2
Inline
[
edu, level
grd, 3
pgrd, 4
mba, 5
btech, 6
be, 7
sslc, 1
intr, 2
mca, 9
];
NoConcatenate
Final:
Load
*
Resident master where Match1<>Match2;
DROP table master;
