回复:请教数据库专家: 如何做树结构的数据库?

来源: 2010-10-19 21:19:31 [旧帖] [给我悄悄话] 本文已被阅读:

not an expert, but try to learn

one table, with column as ID int not null; and parent ID int ;

if a row has parent ID not null, then go find it's parent; otherwise it's a root node.