Distinct row in a group
2789
Fetch the row which has the Max value for a column
15594
Select the row with the maximum value in each group
25114
MYSQL sum() for distinct rows
138925
How to convert multiple duplicate columns as single row with appreciated values
7064
Retrieving the last record in each group - MySQL
57566
SQL to find the number of distinct values in a column
54185
Delete Duplicate Rows?
19952
Counting DISTINCT over multiple columns
22985
SQL query that gives distinct results that match multiple columns
136923
Get the row(s) which have the max value in groups using groupby
98152
SQL Convert column to row
71713
PostgreSQL - "DISTINCT ON" and "GROUP BY" syntax
102054
Is there an Oracle SQL query that aggregates multiple rows into one row?
67770
MySQL: Count the distinct rows per day
110987
Is there any difference between GROUP BY and DISTINCT
17434
Get rows with most recent date for each different item
118546
In SQL, how can you "group by" in ranges?