RE: hierarchical struture into mysql

2002-03-27 Thread Kevin Fries
[EMAIL PROTECTED] > Subject: hierarchical struture into mysql > > > Hi all, > > I m looking for a tree struture for which can be easilly > queried with mysql > features. > I only know the tree with row having a parent id. > Retieving children can only be

hierarchical struture into mysql

2002-03-27 Thread Alexander Belyaev
Hi, from my experience CREATE TABLE message ( id int(10) NOT NULL auto_increment, parent_id int(10) NOT NULL default '0', parents varchar(255) NOT NULL default '', level tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (id), KEY parent_id (parent_id), KEY parents (parents) )

hierarchical struture into mysql

2002-03-25 Thread David yahoo
Hi all, I m looking for a tree struture for which can be easilly queried with mysql features. I only know the tree with row having a parent id. Retieving children can only be done with recursive : mysql doesnt do that ? Thanks _ Do You