M
muster
Suppose I have a talble like this, each record has a unique ID. All
"A"s or "B", "C"s should have only x or y or z property attached. I
want to find A, B or C which has more than one properties.
1 A x ...
2 A x ...
3 A x ...
4 A y ...
5 B x
6 B y
7 C z
....
resutls would look like:
A x
A y
....
I think I can do this in two steps or with a subquery. Then I thought
of self-join but didn't figure out how to use it in this case.
Thanks a lot!
"A"s or "B", "C"s should have only x or y or z property attached. I
want to find A, B or C which has more than one properties.
1 A x ...
2 A x ...
3 A x ...
4 A y ...
5 B x
6 B y
7 C z
....
resutls would look like:
A x
A y
....
I think I can do this in two steps or with a subquery. Then I thought
of self-join but didn't figure out how to use it in this case.
Thanks a lot!