I am trying to a select from a table in oracle DB.
If I do distinct in select statement on single column it works fine but for multiple columns this doesn't seem to work.
for example.
select DISTINCT col1, col2, col3, col4, col5, col6 from table1
returns the same result as.
select * from table1
Column 2, Column3 has duplicate values. What I want is values of all the above column values but not the duplicate values of column2 and column3.
Can you please help. Your help will be appreciated.
Thanks