Search code examples
Find groups containing 6 consecutive 1s in one column...


sqlsql-servert-sqlwindow-functions

Read More
A->B->C relationship management in a 2 column sqlite database...


sqlsqliteselectwindow-functionsrecursive-query

Read More
Counts for time range per day...


sqlpostgresqlwindow-functions

Read More
sqlite mark duplicates with true or false...


sqlitecountduplicatescasewindow-functions

Read More
SQLite Distinct With 2 Unique Column...


sqlitecasesql-order-bydistinctwindow-functions

Read More
Merging consecutive dates for a group together...


sqlsql-servergroup-byaggregate-functionswindow-functions

Read More
SQL: Apply an aggregate result per day using window functions...


sqlpostgresqlgroup-byaggregate-functionswindow-functions

Read More
Distinct Counts in a Window Function...


sql-servert-sqldistinctwindow-functions

Read More
How to get the biggest value in any consecutive range...


mysqlwindow-functionsrecursive-querygaps-and-islandsdense-rank

Read More
PySpark window function - within n months from current row...


apache-sparkdatepysparkapache-spark-sqlwindow-functions

Read More
How can I apply a condition to multiple rows using SQL? CASE WHEN / PARTITION OVER...


mysqlsqlcasewindow-functionscoalesce

Read More
Snowflake query a partition with filter condition...


snowflake-cloud-data-platformwindow-functionspartitioning

Read More
Sum of Current + Previous X Nth Rows...


sqlsql-serverwindow-functionssubquery

Read More
ORACLE SQL - sum based on previous row data...


sqloraclewindow-functions

Read More
Calculate relative average and Lift for a group of data in PostgreSQL...


postgresqlaveragewindow-functions

Read More
There are duplicate records in table, we need to select only the latest records as per date using gr...


sqldatabasegroup-bywindow-functions

Read More
How to calculate running total per month?...


sqlpostgresqlwindow-functionscumulative-sum

Read More
Over() function does not cover all rows as expected...


mysqlgroup-byaveragewindow-functions

Read More
How to concat all values associated with a key?...


sqlpostgresqlconcatenationwindow-functions

Read More
row_number is not unique for duplicate records...


sqlwindow-functionsamazon-athenapresto

Read More
Over() function does not cover all rows in the table...


mysqlsqlcountwhere-clausewindow-functions

Read More
Match two tables without repetition evaluated chronologically...


mysqlpython-3.xjoinwindow-functions

Read More
Window function based on transition of a column value...


sqlpostgresqlwindow-functions

Read More
How to pipe window function output directly into a new window function in SQL?...


sqlsqlitesubquerycommon-table-expressionwindow-functions

Read More
Overdue evolution in SQL...


sqlpostgresqlgoogle-bigqueryaggregate-functionswindow-functions

Read More
Spark: How to capture column transition and groupby on the column...


scalaapache-sparkapache-spark-sqlwindow-functions

Read More
using STRING_AGG and the LAST_VALUE function in same request...


sql-servert-sqlaggregate-functionswindow-functionssql-server-2019

Read More
How to use window function to aggregate data based on date or rank column?...


sqlsql-servert-sqlwindow-functions

Read More
How to make sure only rows with max timestamp values are selected in BigQuery?...


sqlgoogle-bigquerywindow-functions

Read More
"Year-on-year" with window functions...


sqlsnowflake-cloud-data-platformwindow-functions

Read More
BackNext