In order to execute multiple queries, you can include a tFixedFlowInput component in your job. In its configurations you can specify one string column and select an input table to get a new table with one column. Now, for every new line, Talend will create a Hive statement.
Once this is done, you can connect it to a tHiveRow and in the input column specify:
Hope this helps!
To know more about Talend, join Talend for big data certification training today.