Creates a NodeSubQuery based of the registered subQueries

Return

the created subquery