The EG Query Builder does not allow you to funnel results INTO a macro var. That would be a cool capability, but it's a different use case than most of the scenarios that the Query Builder supports today (making new tables).
Only single-value result sets, or result sets that generated a straight list of values (for a range of macro vars) would make sense for this case.