MySQL Forums
Forum List  »  PHP

Re: Best Mysql structure
Posted by: Rick James
Date: June 19, 2013 10:51PM

> ID 1000 recruits 1001, and 1001 recruits 1002

2 columns:
1000, 1001
1001, 1002

But you will need to write code to drill down this "hierarchical" structure; MySQL has no simply construct to discover the depth.

Options: ReplyQuote


Subject
Written By
Posted
June 17, 2013 11:10AM
Re: Best Mysql structure
June 19, 2013 10:51PM
June 19, 2013 11:38PM


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.