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

Polls
We’re dying to get your help in determining what the new profile picture frame should be this Halloween. Cast your vote and help us haunt the Community with the best spooky character.
Don’t ghost us—pick your favorite now!
Labels