Skip to content

Left join with multiple rows #186

Answered by EvgSkv
Stetsyk asked this question in Q&A
Nov 10, 2021 · 5 comments · 1 reply
Discussion options

You must be logged in to vote

Hello @Stetsyk ,

We can pull multiple parameters with one aggregating expression as so

E3(a:, b:, c:, d:, e: x.e, f: x.f) :-
    E1(a:, b:, c:, d:),
    x AnyValue = ({e:, f:} :- E2(c:, d:, e:, f:));

This appears reasonably concise to me.

Please let me know if you have further questions or comments.

And thank you for your supportive feedback!

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by Stetsyk
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rvalek
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants