Search code examples
Getting only the highest counts per type in Postgres...

sqlpostgresqlaggregate-functionsgreatest-n-per-group

Read More
Avoid Multiple subqueries in SQL with the same conditions...

sqlsql-serverquery-optimizationaggregate-functions

Read More
MySQL query to get sum of columns in a group of 5 rows...

sqlmysqlaggregate-functions

Read More
Conditional filter in SELECT to avoid JOIN...

sqlgoogle-bigqueryaggregate-functions

Read More
Select elements where sum of field is less than N...

sqlsqlitepostgresqlaggregate-functionssql-limit

Read More
How to group by a, b and return set of N rows of b...

sqlpostgresqlleft-joinaggregate-functionspostgresql-9.1

Read More
Why do aggregation functions work without Group By?...

sqlt-sqlgroup-byaggregate-functions

Read More
Group By with Multiple Stuff Statements - SQL...

sqlsql-serveraggregate-functionsstring-aggstuff

Read More
Get the sum of a column for exactly n rows...

sqlmysqlaggregate-functionsmysql-8.0

Read More
SQL query for OneToMany + ManyToMany tables...

sqlmysqlinner-joinaggregate-functions

Read More
How to calculate average number and give subquery label...

postgresqlaggregate-functions

Read More
SQL: two aggregate functions without duplicates...

sqlpostgresqlleft-joinaggregate-functions

Read More
How to control order of fields in jsonb_object_agg...

postgresqlaggregate-functionspostgresql-10

Read More
MySQL: Use Aliased Fields in Aggregate Functions...

mysqlaliasaggregate-functions

Read More
PostgreSQL - How to get the count of elements in a column list...

arraysjsonpostgresqlaggregate-functions

Read More
Return line of data with most recent date...

sqloracle-databaseaggregate-functionsgreatest-n-per-group

Read More
GROUP BY except for specific values that need to be added up...

sqlpostgresqlcaseaggregate-functions

Read More
How to get the most recent n records per group and aggregate them into an array...

sqlarraysgoogle-bigqueryaggregate-functionswindow-functions

Read More
PostgreSQL: How to SUM all attributes in a JSONB field?...

jsonpostgresqlaggregate-functionsjsonbpostgresql-9.4

Read More
How to find duplicate records by full name and similar DOB?...

sqlgoogle-bigqueryduplicatesaggregate-functions

Read More
How to sum a value in a JSONB array in Postgresql?...

sqlpostgresqlaggregate-functionspsqljsonb

Read More
spark dataframe map aggregation with alias?...

scalaapache-sparkaggregate-functions

Read More
How to extract json array elements in postgresql...

arraysjsonpostgresqlaggregate-functions

Read More
sql server rolling 12 months sum with date gaps...

sqlsql-serverjoinaggregate-functions

Read More
Query mongodb: aggregate with $avg and $unwind in array...

arraysmongodbmongodb-queryaggregate-functions

Read More
Generating json data and filtering on matching condition from a specific table...

sqlmysqljsoninner-joinaggregate-functions

Read More
Group by multiple criteria in one select...

sqlmysqlpivotaggregate-functions

Read More
Counting sequenced records in ranges, based on grouped varchar values...

sqlsql-serverselectaggregate-functions

Read More
aggregation of aggregation not allowed...

sqlgoogle-bigqueryaggregate-functionsdate-arithmetic

Read More
Merging users with multiple refs and count their collective assets...

sqlarrayspostgresqlaggregate-functionsgraph-theory

Read More
BackNext