I would appreciate some help on writing the NHibernate QueryOver equivalent for the below mentioned SQL:
select sum(s.StudentCount),sum(w.TotalEarningsAmount),
avg(w.TotalEarningsAmount),count(w.TotalEarningsAmount)
from School s inner join s.Earnings w where s.Active = 1"