How to do - MS SQL C# Excel Access
Wednesday, 10 August 2016
MSSQL - Query to calculate Weighted Average (Like SumProduct in Excel)
watch this example on YOUTUBE
Select Sum(Cast (Col1 as float) * Cast(Col2 as float)) /Sum(Cast(Col1 as float))
From WeightAverage
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment