Multiple query and aggregation filter

Let's assume that i have in input 3 different query that fetch data from 3 different tables.

from the first i take for example 4 fields one of them is "id_test" and it is common and present in the other 2 input query result-set.

if I have an aggregate filter with task_id => "%{id_test}", the result-sets of the 3 input-query will be mixed (or merged) and aggregated with "id_test" ?