I want to display sub categories and categories from data base dynamically

So I have a div in which i have a collection list and in which i have text element, all of them are connected with database, the problem i cant solve is that there is only one table in my database in which categories and sub categories are defined also cat and subcat are define in a single column the only relation between them is from another column which connects subcat with main cat, it looks like this,


i want the cat or subcat to be displayed on my category section of my application whenever i select any of the cat and sub cat
kindly help me out…

Hi @mujtaba026 :wave:

I’m not sure I understand how your data is structured. Would you mind recording a short video walking us through your database and maybe include a screenshot of the page design you are trying to achieve in WeWeb?