Search code examples
SQL query to answer: If <event 1> occurs in timepoint A, does <event 2> occur in time pe...


sqldatetimecountgoogle-bigquerywindow-functions

Read More
Snowflake: "SQL compilation error:... is not a valid group by expression"...


sqlcountsumsnowflake-cloud-data-platformwindow-functions

Read More
Convert Dense_Rank Oracle to PostgresSQL...


oraclepostgresqlmaxgreatest-n-per-groupwindow-functions

Read More
How to order occurrences counting from 1 to n occurrences...


sqlsql-serverwindow-functions

Read More
How to group each section of payments by the min date for each section the payment was made with win...


sql-servert-sqldatetimewindow-functionsgaps-and-islands

Read More
Idea for postgres query...


sqlpostgresqlmaxinner-joinwindow-functions

Read More
Assign a certain value to all other values if at least one criteria per value is met...


mysqlsqlwindow-functions

Read More
SQL sum records that wont appear in the final result...


sqldatetimesumwhere-clausewindow-functions

Read More
Pyspark StandardScaler over a Window...


python-3.xapache-sparkpysparkwindow-functions

Read More
Sequentially number groups of values (including repeats)...


sqlsql-serverdatetimewindow-functionsgaps-and-islands

Read More
select elements from jsonb postgres array...


arraysjsonpostgresqlwindow-functionsunnest

Read More
How to row_number() a ranked dataset in mysql...


mysqlsqlmysql-workbenchwindow-functionsgaps-and-islands

Read More
Query to assign serial number for rows without grouping together and without changing the order of r...


sqlsql-serverdatetimewindow-functionsgaps-and-islands

Read More
Update multiple rows of one table using modulas of another table...


mysqlsqlcountsubquerywindow-functions

Read More
SQL - Time difference within same column...


sqlsql-serverdatetimewindow-functionsgaps-and-islands

Read More
how to update column with row number in group by result in MySQL...


mysqlsqlsql-updateinner-joinwindow-functions

Read More
Pivot with row_number() in PostgreSQL...


sqlpostgresqlpivotwindow-functionsgaps-and-islands

Read More
Grouping by percentiles in bigquery...


sqlgroup-bycountgoogle-bigquerywindow-functions

Read More
Find the record on a Postgres table where the final value change happened?...


postgresqlwindow-functions

Read More
Join Multiple tables with No Relation...


sqlsql-serverleft-joinwindow-functionsfull-outer-join

Read More
How to convert all Text Row values to column in SQL Server...


sqlsql-servert-sqlpivotwindow-functions

Read More
Is it possible to rank a dataset by the result of another window function in T-SQL?...


sqlsql-servert-sqlwindow-functionsrank

Read More
Update latest record with previous record values...


sql-servert-sqlstored-proceduressql-updatewindow-functions

Read More
How to find whether the same customers who ordered this month also ordered the next month?...


mysqlsqldatetimecountwindow-functions

Read More
select with MAX() not showing expected result...


mysqlsqldatetimegreatest-n-per-groupwindow-functions

Read More
Select results based on nearest date window...


sql-serverdatetimewindow-functionsrecursive-querygaps-and-islands

Read More
Merge 2 tables without repeat data...


sqlsql-serverdatabaseleft-joinwindow-functions

Read More
How to group data if difference between rows is mothe than 1 minute...


sqlssmswindow-functionsgaps-and-islands

Read More
Using MAX to find the lastest time given other attribtues...


sqlsql-serverdatetimegreatest-n-per-groupwindow-functions

Read More
Rank based on cumulative value...


sqlsql-serverwindow-functionsrankgaps-and-islands

Read More
BackNext