How does one eliminate duplicate rows from a query?
One of the columns has many duplicate values. I require to pull all the table A rows with the exception of Table A's column col2 contains no duplicates. The actual table is around 15 million rows.
For example,
select col1, col2, col3, col4 from table A (where col2 is distinct) --semi-psuedo code
Start Free Trial