SQL Server - sum a column using group by -


i have columns in below format enter image description here

and looking output adding last column based on first column enter image description here please suggest best approach?

best regards

used over(partition by.....) in following way , worked

,sum(newbill) on (partition wouid) newfield

thanks support guys.


Comments

Popular posts from this blog

php - Auto increment employee ID -

php - isset function not working properly -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -