Re: Hierarchical lists

2001-04-09 Thread Tomas Eriksson
just some thoughts, this is a nice way of creating one "tree"-table of unlimited levels, top-level-items has for example parent_id -1, and if you want to get the items (the childs of a parent) just say select * from items where parent_id = x create table items ( item_id int unsigned not

Re: Re: Avoiding roundtrips

2001-04-06 Thread Tomas Eriksson
01 1:52 PM Subject: Re: Avoiding roundtrips > Tomas Eriksson writes: > > Hi. > > > > I guess we all are waiting for subselects in Mysql...but can you do many > > sql-commands in a single execution, with a nice finally-result-select at > > the end? Many round

Avoiding roundtrips

2001-04-05 Thread Tomas Eriksson
Hi. I guess we all are waiting for subselects in Mysql...but can you do many sql-commands in a single execution, with a nice finally-result-select at the end? Many roundtrips feels bad... kind regards Tomas