In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities 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