# Database structure question

**URL:** <https://forum.adalo.com/t/database-structure-question/31270>\
**Category:** Database\
**Created:** [August 27, 2022, 7:20pm UTC](https://forum.adalo.com/t/database-structure-question/31270 "2022-08-27T19:20:59Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Dilon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/dilon/32/39815_2.png) [@Dilon](https://forum.adalo.com/u/Dilon)\
**Post date:** [August 28, 2022, 11:53am UTC](https://forum.adalo.com/t/database-structure-question/31270/2 "2022-08-28T11:53:16Z")

</div>

Hi @gearmobile,

Welcome to the community 🥳

You need three collections for this.

> [@gearmobile](#):
>
> (parent category)  
> Musical Instruments

One collection for parent category like Sections.

> [@gearmobile](#):
>
> (root category)  
> guitar

Another one for root category like categories.

> [@gearmobile](#):
>
> (sub category)  
> electric guitar

Another one for sub category like instruments.

And then you can have a list of sections and add a link action to the list to another screen to show categories and you can link that one to another screen to show the instruments or if you need to display all in a one list you would need a custom list and another two custom lists inside that list.

And for filtering how you want it to be?

Let us know how it goes!

Thank you

---

_[View the full topic](https://forum.adalo.com/t/database-structure-question/31270)._
