Is there any way to subtract the value of the first selected row from all rows? Therefore if i have
t = 1, v = 500 t = 2, v = 800 t = 3, v = 1200
I would get
t = 1, v = 0 t = 2, v = 300 t = 3, v = 700
I am always looking for a portable solution, but Postgres solution works the same way :-) Thank you.
source share