SELECT UniqueName, count("Users".UniqueName) FROM ariba.user.core.Group GROUP BY UniqueName HAVING count("Users".UniqueName) != 0
Please try this one and confirm
SELECT UniqueName, count("Users".UniqueName) FROM ariba.user.core.Group GROUP BY UniqueName HAVING count("Users".UniqueName) != 0
Please try this one and confirm