Link to home
Start Free TrialLog in
Avatar of camper12
camper12

asked on

weighted average

I have the following table

A  B   ID
1  8    s
4  9    x
5  10   m
6  11  n
7  12   o

I want to calculated weighte average as follows
only for IDs  s and x i want to find weighted average 1/sum(all Bs) and 4/sum of all Bs

what is the query for this?
ASKER CERTIFIED SOLUTION
Avatar of Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial