I have a table where I list the data like Mobile --Apple phone --iphone12 --iphone12 pro
since mobile has one subcategory and that subcategory has two more subcategor