Hi,
My problem looks simple. But I am strugling to build a query to get the result I wanted.
I have a two column table. I need the rows that have more than one combination of values.
For example...
Col1: Col2:
1 A
1 A
2 B
2 C
3 B
3 B
3 C
4 D
4 D
In the above table, I want the resultset as follows..
2 B
2 C
3 B
3 B
3 C
Since Col1 values 1 and 4 do not have more than one Col2 values, I want those rows to be exluded from the resultset.
Any help will be appreciated.
Adimulam
My problem looks simple. But I am strugling to build a query to get the result I wanted.
I have a two column table. I need the rows that have more than one combination of values.
For example...
Col1: Col2:
1 A
1 A
2 B
2 C
3 B
3 B
3 C
4 D
4 D
In the above table, I want the resultset as follows..
2 B
2 C
3 B
3 B
3 C
Since Col1 values 1 and 4 do not have more than one Col2 values, I want those rows to be exluded from the resultset.
Any help will be appreciated.
Adimulam