ralphtrent
Programmer
Hello.
I am trying to gather data for a sql that will get family info and student info. Here is my sql:
SELECT
*
FROM
tSTATS st,
tMEMBERS mem,
tStudents s
WHERE
mem.FAMILY_ID = st.FAMILY_ID
and PAID_STS='Y' and LIST_STS='Y'
and s.FAMILY_ID = mem.FAMILY_ID
Sometimes the tSTUDENTS table might not have data that matches the mem.FAMILY_ID. Is there SQL that I can do that will still get the record. Right now I get 0 records if the member has no students. I am using an Access Database.
Thanks
Ralph
I am trying to gather data for a sql that will get family info and student info. Here is my sql:
SELECT
*
FROM
tSTATS st,
tMEMBERS mem,
tStudents s
WHERE
mem.FAMILY_ID = st.FAMILY_ID
and PAID_STS='Y' and LIST_STS='Y'
and s.FAMILY_ID = mem.FAMILY_ID
Sometimes the tSTUDENTS table might not have data that matches the mem.FAMILY_ID. Is there SQL that I can do that will still get the record. Right now I get 0 records if the member has no students. I am using an Access Database.
Thanks
Ralph