HI. Doubt with "Distinct"
HI,
I have a table called "tab" with 2 colums "col1" and "col2", having the values as follows.
col1 col2
1 2
2 2.
Now, I need the output report to be having col1, and col2 with those values which are distinct ( in both the colums, if seen individually). In other words, here i need output as
col1 col2
1 2 . I should not get the record " 2 2" anymore.
Im not able to achieve this using distinct. Please help. ( this is just the actual problem .My production tables and data are different though !).
Rgds,
Suman