Showing posts with the label
window-functions
Issue Does anyone know how to replace nulls in a column with a string until it hits a new string th…
Issue I have the following dataframe showing the revenue of purchases. +-------+--------+-------+…
Issue I have a sales dataset where I need to calculate last 3 month sales average for each product …
Issue In the table below, I'd like to minus the previous rows date from the current rows date a…
Issue My goal is to calculate another column, keeping the same number of rows as the original DataF…
Issue SELECT sum(unique1) OVER () AS total, sum(unique1) OVER (PARTITION BY four ORDER…
Issue I want to increase the row number of a partition based on a condition. This
Issue I have the following data that has certain rows which are implicitly duplicated, but don'…