MIP Logo

Understanding Alteryx Joins from an SQL background

This post was originally published on The Data School blog between 2018 and July 2025, before our program was renamed to MIP’s Analytics Career Accelerator. References throughout this article to “The Data School” or “DS” all refer to what is now MIP’s Analytics Career Accelerator. The program, its people, and its commitment to launching outstanding analytics careers remain the same – just under a new name.

If you are having trouble viewing this article, please report it here. 

Like many people, SQL was my go-to tool for joining different datasets and other database queries. Now that I have been exposed to Alteryx through my training at the Data School Down Under, I was surprised to find out that joins and unions in Alteryx was much more intuitive, powerful and just makes more sense. There are some differences however between Alteryx and SQL joins, so I have created this guide to prevent the misinterpretation of data in Alteryx caused by old SQL habits.

Join SQL Alteryx
Inner Join

SELECT * FROM table A

INNER JOIN table B

ON …

Left Join SELECT * FROM table A

LEFT JOIN table B

ON …

Right Join SELECT * FROM table A

RIGHT JOIN table B

ON …

Full Join SELECT * FROM table A

LEFT JOIN table B

ON …

UNION ALL

SELECT * FROM table A

RIGHT JOIN table B

ON …

UNION ALL

SELECT * FROM table A

INNER JOIN table B

ON …

Left Outer Join SELECT * FROM table A

LEFT JOIN table B

ON …

WHERE table B.keyfield is NULL

Right Outer Join SELECT * FROM table A

RIGHT JOIN table B

ON …

WHERE table A.keyfield is NULL

That is all for now and I hope this guide proves useful.

Happy Joining!

Share this post