I'm new to Alteryx!
Having said that, i'm in a situation where i have an excel file (.xlsx) with 10-20 SQL queries to be executed to fetch data from a SQL database and produce separate excel outputs for each query results. Below is an example of the sql query i the excel file :
Select top 10 'def' as 'DEF', CRP as 'Entity', ACCT, ADJ form CTXAMT_2018
I'm also attaching a screenshot of my approach. But, i am stuck in how to make it loop through all the SQL queries.

Appreciate your help.
Thanks.