DISTINCT ONを使うことで,ONしたカラムのみを使った重複排除が行える.

SELECT DISTINCT ON (col1, col2) col1, col2, col3 FROM tablename;