I've seen this asked a couple of times, but not sure I've ever seen a definitive answer.
I have a number of involved SQL queries that utilizes the "WITH" Statement subquery format. Something like:
WITH TBL_A AS (
SELECT * FROM <SOMETHING> WHERE <CONDITION>),
TBL_B AS (SELECT * FROM TBL_A WHERE <CONDITION>)
SELECT * FROM TBL_B;
It would be nice to be able to just drop this code into an IN-DB connection, but it seems like Alteryx doesn't like the WITH statement, because on the backend it's basically creating WITH statements whenever it is doing the data manipulation. I was informed to nose around the Dynamic In-DB tool, and indeed you can see the SQL statements it generates do use the WITH statement, and I got the impression that I can somehow use these dynamic tools to be able to incorporate my WITH statement queries. Currently I'm re-writing everything in Alteryx which is a pain since some things are just easier in SQL - not to mention I already have the scripts. Thanks for the help.