Hello to Everyone.
I have a workflow similar to this one.

As you can see, there´s a filter tool there. What i´m looking for is how to transform that filter into a SQL statement, so I can use that code directly into the database, of course, TEST_TABLE is just and example as I know when yo connect to a database building querys looks as the picture below.

Thank you For the Help