Webtatic.com

Just another technical blog

Posts Tagged ‘MySQL’

Hierarchical data access in MySQL using nested sets

Posted 1st April 2008 by Andy | No Comments

As you may know, MySQL is a relational database system. It consists of flat tables, which can be joined together in queries. Relations between these tables can only be specified in a way that is one-to-one/one-to-many.
This suits most situations, but when you start getting to hierarchical data, such as multiple level categories (as used on [...]