---
title: "Managing Hierarchical Data in MySQL"
author: "bulain"
date: "2005-11-08T13:14:09Z"
tags: []
slug: "managing-hierarchical-data-in-mysql"
draft: false
lastmod: "2005-11-08T13:14:09Z"
id: 23514
url: "https://bulain.iteye.com/blog/23514"
---

<span style="color:red">Managing Hierarchical Data in MySQL
</span>
<http://dev.mysql.com/tech-resources/articles/hierarchical-data.html>

Most users at one time or another have dealt with hierarchical data in a SQL database and no doubt learned that the management of hierarchical data is not what a relational database is intended for. The tables of a relational database are not hierarchical (like XML), but are simply a flat list. Hierarchical data has a parent-child relationship that is not naturally represented in a relational database table.