On Sep 23, 2004, at 6:36 PM, Stephan Szabo wrote:
On Thu, 23 Sep 2004, Matthew Hixson wrote:
I have a categories table that contains a FK to another category in
the
same table, creating a hierarchy. At the very top is this row:
category_id | name | description | parent_id
-
On Thu, 23 Sep 2004, Matthew Hixson wrote:
> I have a categories table that contains a FK to another category in the
> same table, creating a hierarchy. At the very top is this row:
>
> category_id | name | description | parent_id
> -+--+-+--
I have a categories table that contains a FK to another category in the
same table, creating a hierarchy. At the very top is this row:
category_id | name | description | parent_id
-+--+-+---
1 | ROOT | The top level category