Z
Zach
Can you suggest the best way to combine two tables in a query? Here's
the situation....
I have two tables that hold membership information about two separate
groups. About 50 members cross over, being part of both groups. The
members of the groups also take the same classes.
The piece of data I need is to see how many people have taken each of
the classes. There is a yes/no field in each table that tracks this for
each of four classes.
I need to merge data from the two tables, dealing with the duplicate
individuals, and counting the number of people logged as having taken
each class.
Can you help me with a starting SQL query for this? Would it be best
done with a UNION, or with something else?
Thanks,
Zach
the situation....
I have two tables that hold membership information about two separate
groups. About 50 members cross over, being part of both groups. The
members of the groups also take the same classes.
The piece of data I need is to see how many people have taken each of
the classes. There is a yes/no field in each table that tracks this for
each of four classes.
I need to merge data from the two tables, dealing with the duplicate
individuals, and counting the number of people logged as having taken
each class.
Can you help me with a starting SQL query for this? Would it be best
done with a UNION, or with something else?
Thanks,
Zach