Forum Discussion
ptaylor
5 years agoEmployee
I’m not understanding your example. If Column 2 is supposed to be your rownum() value, why wouldn’t the values be 1, 2, 3, 4, 5 instead of 1, 1, 1, 2, 3?
dipanjan_pan
5 years agoNew Contributor
rownum based on some partition by column. In this case I want the output based on column 1. thats why it is 1,1,1,2,3
- ptaylor5 years agoEmployee
Sorry, can you please explain more specifically what you mean by that? What is the partitioning rule?