Hi @Sachin Jadhav
I am afraid you can not use QueryDatabaseTable with dynamic table name. This processor doesn't accept incoming flow files so you can not get you list before and feed it. Also, there's a constraint on the state management for dynamic items too.
Look to GenerateTableFetch or ExecuteSQL. Both accept incoming flow files where you can provide table names from other flows. For instance, you can use ListDatabaseTables if you want to get all tables or a subset of tables from a DB.