I want to make dictionary

Hello, i want to make dictionary

databases

table_category (id, cat_title)

table_sub_cat _1 (id, sub_title, cat_id)

table_sub_cat _2 (id, sub_title, cat_id)

table_sub_cat _3 (id, sub_title, cat_id)