Hi Dieter,
Thank You for your help.
But in the table below COL2 values need to take into consideration as 1 partition.
Can you please help me to write the query to achieve the below expected result.
COL1 COL2 COL3
1 100 2,000
2 100 3,000
3 100 4,000
4 300 5,000
5 300 6,000
6 300 7,000
Expected result would be:
COL1 COL2 COL3
1 100 3,000
2 100 4,000
3 100 ?
4 300 6,000
5 300 7,000
6 300 ?
Forums: