MySQL Forums
Forum List  »  Stored Procedures

Re: relationship query question
Posted by: Peter Brawley
Date: September 16, 2012 12:08PM

Manhao,

If it's meant to be a tree, it is not true that "there are no SQL things that help much", but storing both parent and child IDs is a mistake. See discussion of edge lists in http://www.artfulsoftware.com/mysqlbook/sampler/mysqled1ch20.html.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
2520
September 15, 2012 01:20AM
959
September 16, 2012 10:59AM
Re: relationship query question
990
September 16, 2012 12:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.