Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3441

Continue row number sequence from the largest number

$
0
0

Hi experts,

 

I have a scenario where I need to continue the row number sequence from the last maximum number in the column by partition field.

I think that the following screenshot illustrates the example the best:

 

The red values do not exist in the source table and need to be derived, is there a window function to be used for this

 

example.PNG

 

Thanks


Viewing all articles
Browse latest Browse all 3441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>