Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
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