hi,
i have this query:

select r.*, b.BedCount
from (select b.room_id, count(b.Number) BedCount from bed b group by
b.room_id) b
join room r     on b.room_id = r.id

what approach should i take in NH?

cheers.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to