In case you missed the announcement: Alteryx One is here, and so is the Spring Release! Learn more about these new and exciting releases here!

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
19 - Altair

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