How to generate the query\report by Network Group