In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Replicating Comparison Operator used in the JOIN conditions of a SQL statement

Milliman
5 - Atom

Hello,

 

I'm wondering how I could replicate the comparison operator used to filter dates in the JOIN ON statement below:

 

SELECT Key, Date FROM A

LEFT JOIN B

ON (A.Key = B.Key)

AND (A.Date > B. Date)

 

Thank you!

2 REPLIES 2
afv2688
16 - Nebula
16 - Nebula

Hello @Milliman ,

 

You can replicate it by using a join, union and filter tool.

 

Untitled.png

 

If you need anything else let me know 🙂

 

Regards

R726319
5 - Atom

This approach works for a SQL Where clause and not as a left join.

Labels
Top Solution Authors