Let's say I have table A:
ID | ATTR1 | ATTR2 | ...
and table B:
ID | ATTR1 | ATTR3 | ...
and I wanted to return all distinct values of ATTR1 with their combined counts from both tables. Maybe I'm out to lunch, but I can't figure out a good way to do this. It must be a join along with some kind of group by, so if you are having a better SQL day than I am, please help!!
Thanx! Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com
ID | ATTR1 | ATTR2 | ...
and table B:
ID | ATTR1 | ATTR3 | ...
and I wanted to return all distinct values of ATTR1 with their combined counts from both tables. Maybe I'm out to lunch, but I can't figure out a good way to do this. It must be a join along with some kind of group by, so if you are having a better SQL day than I am, please help!!
Thanx! Brad Gunsalus
Cymtec Systems, Inc.
bgunsalus@cymtec.com