MySQL Database Schema Design - Tree-Style -


i've never done database design, don't know how this:

i need structure, kind of tree, looks like:

-main item 1 --sub item 1 ---subsub item 1 ---subsub item 2 --sub item 2 ---subsub item 1 -main item 2 .....  , on. 

the goal nest many layers want item.

how can create database tables, can save best way. , how query structure?

thank in advance.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -