ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Does Alteryx now how to handle SQL aliases?

ckelley0
8 - Asteroid

I have a very simple SQL query that works, but not when I include an alias.  

Alteryx alias.png

While it is not a problem to simply remove the alias for this query, it is not ideal for more complex queries.  Thanks.

2 REPLIES 2
ckelley0
8 - Asteroid

Never mind, I found my issue.

 

Alteryx alias solved.png

 

If you are going to declare an alias then you have to use it. 

 

 

apathetichell
20 - Arcturus

The short is Yes - it can also handle subqueries with alias ie select s.* from (select sum(*) from yourdb.yourschema.yourtable) s

Labels
Top Solution Authors