How to multiply TSQL columns separately by row then SUM the total

后端 未结 0 1755
挽巷
挽巷 2021-01-06 06:05

Simple example:

SUM(col1 * col2) as X

This is what I appear to be getting:

(col1_row1 + col1_row2 )

相关标签:
回答
  • 消灭零回复
提交回复
热议问题