I need a little of help. This is my design to organize several categories.
Category 1
Sub Category 1.1
Sub Category 1.1.1
Sub Category 1.
I'd use a simple Recursive Relation. Each Category should have a unique ID (primary key) and an optional field specifying its parent, which would be a foreign key mapping back to the same table. Categories with a NULL parent are top-level categories.
The page I linked to also has information on how you can query this structure to find top-level or mid-level Categories.