How to do Group By in grails to order by Count(*)

Posted by skurt on Stack Overflow See other posts from Stack Overflow or by skurt
Published on 2010-05-06T14:14:03Z Indexed on 2010/05/17 11:20 UTC
Read the original article Hit count: 140

Filed under:
|
|

How do I translate:

SELECT COUNT(*) AS `count`, `a` FROM `b` GROUP BY `a` ORDER BY `a`

into grails or gorm query?

© Stack Overflow or respective owner

Related posts about grails

Related posts about gorm