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

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -