I'm writing using translate
Table1
id number type
1 6 111
1 5 111
1 6 113
2 3 112
2 6 111
i need to sum group by value of "type" and "id" the result I want to see
RESULT Table
id type111 type112 typ113
1 11 0 6
2 6 3 0