I have 3 tables each primary key is SPONSORKEY.
SPONSORS table CHILDREN table CONTACT table
sponsorkey sponsorkey sponsorkey
last name childrenkey contact
first name last_name conttype
mi first_name comment
MI
When I run the query multiple sponsors show, I assum because the is one-to-many child condition and there
one-to-many contacts. I need:
One sponsor with one_to_many children and one_to_many contacts.
Currently with the run I get a repeat of the sponsor listed for each child and contact.
Here is what I would like:
sponsor children conttype comment
smith Larry smith windy doctor dolittle 123 west nowhere
smith james grandmother 456 east sunnyside
jones spike jone spike jr. uncle peg 909 brezy lane
I don't see how to get this results.....
SPONSORS table CHILDREN table CONTACT table
sponsorkey sponsorkey sponsorkey
last name childrenkey contact
first name last_name conttype
mi first_name comment
MI
When I run the query multiple sponsors show, I assum because the is one-to-many child condition and there
one-to-many contacts. I need:
One sponsor with one_to_many children and one_to_many contacts.
Currently with the run I get a repeat of the sponsor listed for each child and contact.
Here is what I would like:
sponsor children conttype comment
smith Larry smith windy doctor dolittle 123 west nowhere
smith james grandmother 456 east sunnyside
jones spike jone spike jr. uncle peg 909 brezy lane
I don't see how to get this results.....