I have 3 columns from following query
select type, typeid, count(typeid)
from schema1.table_name
where typeid is not null
group by typeid;
I want to put output from this query into Map<String, Map<Integer, Integer>>
Data are:
type type_id count(type_id)
Product Class 7 1
Product Class 109 2
Product Class 123 1
Product Class 132 1
SubCategory 362 3
Category 364 2
SubCategory 430 1
SubCategory 434 7
SubCategory 532 1
SubCategory 683 1
Brand 10002 10
Brand 10003 2
Brand 10393 3
Brand 12068 1