E
elijah
i am having a problem writing a query.
table 1 has 2 columns, family & abode. family goes by numbers (1,2 etc).
abode options are apt or house, such as:
family abode
1 house
2 apt
3 house
4 apt
5 apt
table 2 has 2 columns (family, dogcat). family is directly related to family
in table 1. catdog has two options, cat or dog. each family can have more
than 1 cat, such as:
family catdog
1 cat
1 dog
2 cat
3 dog
4 cat
4 cat
5 cat
5 cat
5 dog
i want to be able to query which family's are in apt's & just have cats. i
also want the family number to show only once in the result. the result would
be families 2 & 4. i am having a problem coming up with that result.
thanks to anyone who can help.
table 1 has 2 columns, family & abode. family goes by numbers (1,2 etc).
abode options are apt or house, such as:
family abode
1 house
2 apt
3 house
4 apt
5 apt
table 2 has 2 columns (family, dogcat). family is directly related to family
in table 1. catdog has two options, cat or dog. each family can have more
than 1 cat, such as:
family catdog
1 cat
1 dog
2 cat
3 dog
4 cat
4 cat
5 cat
5 cat
5 dog
i want to be able to query which family's are in apt's & just have cats. i
also want the family number to show only once in the result. the result would
be families 2 & 4. i am having a problem coming up with that result.
thanks to anyone who can help.