Hibernate:
select sum(insurance0_.invested_amount) as col_0_0_,
insurance0_.insurance_name as col_1_0_ from insurance insurance0_ group
by insurance0_.insurance_name
Invested Amount: 3500
Insurance Name: Car Insurance
Invested Amount: 500
Insurance Name: Dental Insurance
Invested Amount: 1550
Insurance Name: Home Insurance
Invested Amount: 1500
Insurance Name: Life Insurance
Invested Amount: 1600
Insurance Name: Medical Insurance
Invested Amount: 1680
Insurance Name: Motorcycle Insurance
Invested Amount: 2600
Insurance Name: Travel Insurance