Skip to content
Advertisement

Update statement to increment column value

Please consider following setup

Increment sequence with +1 for sequence >= sequence of cont2 and for respective Group

The result should be

Can any one help me to construct a SQL query to get above result?

Advertisement

Answer

I think this does what you want:

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement