Ron Peterson wrote: > > This structure is more 'normal' in the sense that nodes without children > (in a tree, the leaf nodes) don't have records in the edge table. Phghpth. Should have had my coffee first. The first data structure given would only have a null parent id for the root node, not all the leaf nodes. My mistake. Thought it might be politic to point that out before someone (correctly) called me an idiot. -Ron-
- Re: [SQL] How to represent a tree-struc... Josh Berkus
- RE: [SQL] How to represent a tree-s... Stuart Statman
- Re: [SQL] How to represent a tr... Josh Berkus
- Re: [SQL] How to represent... Mathijs Brands
- Re: [SQL] How to repre... clayton cottingham
- RE: [SQL] How to represent... Opec Kemp \( Ozemail \)
- Re: [SQL] How to represent... Tulassay Zsolt
- Re: [SQL] How to repre... Tulassay Zsolt
- Re: [SQL] How to represent a tree-s... Robert B. Easter
- Re: [SQL] How to represent a tree-structure... Ron Peterson
- Re: [SQL] How to represent a tree-struc... Ron Peterson
- Re: [SQL] How to represent a tree-struc... Ron Peterson
- Re: [SQL] How to represent a tree-structure in a... hubert depesz lubaczewski