Postgresql – How to get unique results by best position
I have a large PostgreSQL DB table. From this table I need to take rows grouped by Car_id and position columns. The problem is that I have a lot of duplicates and need to take one row with the best…