[ad_1]
This will do it on SQL Server.

It’s really weird, but stackoverflow wouldn’t let me post that query, so I had to post a screen grab.
2
[ad_2]
solved Sum of different attributes for a user [closed]
[ad_1]
This will do it on SQL Server.

It’s really weird, but stackoverflow wouldn’t let me post that query, so I had to post a screen grab.
2
[ad_2]
solved Sum of different attributes for a user [closed]