I'll try to explain better if this doesn't make sense. I have records in a table we'll call "Members" with a field called "ParentID" which indicates the parent of the record (which exists in the same table). Those parents also have a ParentID listed in their and so on so there are different lineages of related records. I have another table that relates to the primary key of the Members table and I would like to be able to pull all the records from that second table that are associated with any specified primary key of Members and all of the parent records and/or all of the children records (i.e. Member records for which their ParentID matches to follow the lineage downward). I hope that makes sense. Basically it's like a family tree and I want to be able to get all the records from one table that are related to a primary key and all it's relatives in another table. I'm pretty novice with SQL commands and can't think of how this would be possible.
Thanks for all help!