How do I create a Dynamic group in USM based on a SQL query