Hi @IlliasB22 ,
first, you don't need separate input tools, this will simply be replicating the extraction.
Second, you can connect In-DB and apply the filters before extracting, but that's a different issue.
Without knowing your logic it's going to be different methods for different use cases. Fore example, in your SQL statement you are using a join to another table. You can do the same in Alteryx using the Join tool. The filter can be used to provide a split to give those records that match the True and those that meet the False outcome of the statement.
Without seeing your data and how you've configured your workflow it's difficult to say much more.