--
You received this message because you are subscribed to the Google Groups "nhusers" group.
To view this discussion on the web visit https://groups.google.com/d/msg/nhusers/-/fmLr_YIN3FYJ.
To post to this group, send email to nhu...@googlegroups.com.
To unsubscribe from this group, send email to nhusers+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
So it seems do boil down to something like (HQL):
select p.firstname, p.name, count(p) from Person p group by p.firstname, p.name
/Oskar
2012/2/15 Itzik Saban <itzik...@gmail.com>: