Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: gmullinLooks like you're using a library "DB Nodes" that you didn't attach.
Presuming you're using the Filter node to build up your where clause, you could make the entire query there like this:
emit "select * from my_table where Numb in (" + ZZ.str() + ")" as query
And then in DB Execute use: sqlSelect(1,query)