My SQL view returns the following
ID Name
AA Gina
AB George
AC John
I would like to add a computed column UpCounter so my view returns something like
ID Name UpCounter
AA Gina 1
AB George 2
AC John 3
Is it possible?
UPDATE: The UpCounter is actually the row index
See the OVER Clause.
Here’s a use case: