As you can see, the Menge
column is decreasing its value for every row, subtracting the Reserviert
value from the previous row.
Can anybody suggest how to write this type of query in SQL Server?
Advertisement
Answer
It Cannot be Done by SQL Only . It must to be done by Code