SOQL query to find Cases owned by a Queue 2:27 PM Select count(Id),Owner.Name from Case where IsClosed = false and Owner.isActive = true and OwnerID IN (SELECT Id FROM Group WHERE Type = 'Queue') GROUP BY Owner.Name