Search code examples
Is there a more efficient way to calculate percentage when I got two condictions under GROUP BY?...


mysqlsqlgroup-bycountwindow-functions

Read More
How can I fetch the results from the first and last row of each partition?...


sqlpostgresqlwindow-functions

Read More
GROUP BY and aggregate sequential numeric values...


sqlpostgresqlplpgsqlwindow-functionsgaps-and-islands

Read More
PostgreSQL: Merge times into intervals based on another column alternating value...


sqlpostgresqlwindow-functionsintervals

Read More
Find first event occurring after given event...


google-bigquerywindow-functionspartitioningdatabase-partitioningpartition-by

Read More
How to calculate average for every month from start from year in Presto's SQL (Athena)?...


sqlselectwindow-functionsprestoamazon-athena

Read More
Need a SQL select statement to return rows that have the same id in one column and distinct value in...


sqloraclecasewindow-functionssql-null

Read More
Cumulative sum with condition in SQLite...


sqlsqlitegroup-bycountwindow-functions

Read More
Find most frequent value but when there is a tie, choose the most recent in tidyverse...


rdplyrtidyversewindow-functions

Read More
OOM using Spark window function with 30 days interval...


pythonapache-sparkapache-spark-sqlout-of-memorywindow-functions

Read More
Calculate lift for every row and compare it with the average lift of region and year...


postgresqlwindow-functionsnested-select

Read More
unique constraint on window function output...


sqlsql-serveruniquewindow-functionsstring-agg

Read More
Window function trailing dates in PostgreSQL...


sqlpostgresqlwindow-functions

Read More
Postgresql 8.4 - Limiting window function range...


sqlpostgresqlcountpostgresql-8.4window-functions

Read More
SQL : Join rows on dynamic keys...


mysqlsqljoinwindow-functions

Read More
SQL: partition by / window function with the combination of 2 columns, separated by todays date...


sqlpostgresqlwindow-functions

Read More
Count occurrences of a filtered value in a window...


apache-sparkpysparkapache-spark-sqldatabrickswindow-functions

Read More
How to create a map column with rolling window aggregates per each key...


apache-sparkdictionarypysparkapache-spark-sqlwindow-functions

Read More
Using MySQL window function to section timeseries when value changes...


mysqlgroup-bywindow-functionsgaps-and-islands

Read More
Aggregating length of time intervals and grouping to fixed time grid...


sqlgoogle-bigquerywindow-functionsgaps-and-islands

Read More
How to get Column from Max of multi another columns?...


databasesqlitegroup-bymaxwindow-functions

Read More
The way sum over function work in SQL Server...


sqlsql-serversumwindow-functions

Read More
How to merge rows startdate enddate based on column values using Lag Lead or window functions?...


sqlsnowflake-cloud-data-platformwindow-functionsranking-functions

Read More
How to get SQL output with more rows than original table? - Timeline of Events...


sqldatabasegoogle-bigquerycasewindow-functions

Read More
How to overwrite a row_number value in SQL?...


sqlsql-updateamazon-redshiftwindow-functionsrow-number

Read More
SQLAlchemy custom formula in sum()...


sqlalchemywindow-functions

Read More
Update a deleted_at column on partition in PostgreSQL...


postgresqlwindow-functions

Read More
Looking for an equivalent to INTERSECT ALL in sqlite...


sqlitewindow-functionsrow-numberintersect

Read More
User defined function to be applied to Window in PySpark?...


apache-sparkpysparkaggregate-functionsuser-defined-functionswindow-functions

Read More
How to get aggregate by hour including missing hours and add cumulative sum?...


apache-sparkpysparkapache-spark-sqlaggregatewindow-functions

Read More
BackNext