R
ralley
I have several tables in a database, tracking membership signups by
generation. Because it is important for us to track that each member gets 2
and only 2 sign-ups underneath them in a particular affialiate program, I
designed the tables by generations of sign-ups, starting with a table labeled
as FrontLine, and then 1stLevel, 2ndLevel, etc. I link the tables by using a
one-to-many link in Front line from MemberId to MemberJoinedUnderId in 1st
level, and so on and so forth. I now need to perform a query that displays
each member that does not have two members signed underneath them. I was
trying to do this using either a count function or a domain count. Do I need
to nest the queries? Could someone please help me with the query design that
will display all records in the memberID's for which there are NOT 2
MemberJoinedUnderId's in the first level table? Thanks so much!
generation. Because it is important for us to track that each member gets 2
and only 2 sign-ups underneath them in a particular affialiate program, I
designed the tables by generations of sign-ups, starting with a table labeled
as FrontLine, and then 1stLevel, 2ndLevel, etc. I link the tables by using a
one-to-many link in Front line from MemberId to MemberJoinedUnderId in 1st
level, and so on and so forth. I now need to perform a query that displays
each member that does not have two members signed underneath them. I was
trying to do this using either a count function or a domain count. Do I need
to nest the queries? Could someone please help me with the query design that
will display all records in the memberID's for which there are NOT 2
MemberJoinedUnderId's in the first level table? Thanks so much!