views:

14

answers:

0

How do I write the below with ICriteria and Projections.Sum:

Select item_name, sum(unit_price * amount) from sales group by item_name

Thanks