Getting records where column value equals an aggregate value of that column
2789
Fetch the row which has the Max value for a column
7064
Retrieving the last record in each group - MySQL
84665
Sum of rows based on column value
143452
PostgreSQL - fetch the row which has the Max value for a column
6884
Select values that meet different conditions on different rows?
77921
Query to collect the recent TimeSampled row using inner joins in MS SQL
102054
Is there an Oracle SQL query that aggregates multiple rows into one row?
149756
Increment Record based on field
30078
How do I perform a GROUP BY on an aliased column in MS-SQL Server?
118546
In SQL, how can you "group by" in ranges?
108071
Find unique columns and column membership
157871
Techniques for finding near duplicate records
86693
Trigger to prevent duplication of records in Salesforce
107680
How do I create a user-defined aggregate function?
5403
Sql Server equivalent of a COUNTIF aggregate function
85901
Implementing a PIVOT query
151672
Summing values if same second column value