hi,
du möchtest vermutlich nach der branche GROUPieren.
und die Bedingung in die Having Klausel einbauen...
da er ja für jede branche diese zählung haben will, gibt es m.E. keine zu prüfende bedingung.
gruß,
wahsaga
--
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."
"Look, that's why there's rules, understand? So that you _think_ before you break 'em."