Given this table
col1 col2
1 yes
1 no
2 yes
2 yes
3 no
3 no
4 yes
4 no
I want to query out that for each value in col1 if its corresponding value in col2 is yes, yes - it will be yes,
no, yes - it will be yes, no, no it will be no
the result set should look like
col1 col2
1 yes
2 yes
3 no
4 yes
thanks
col1 col2
1 yes
1 no
2 yes
2 yes
3 no
3 no
4 yes
4 no
I want to query out that for each value in col1 if its corresponding value in col2 is yes, yes - it will be yes,
no, yes - it will be yes, no, no it will be no
the result set should look like
col1 col2
1 yes
2 yes
3 no
4 yes
thanks