|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Need to calculate a weighted average using sqlHelp!!! I'm in a time crunch and need to calculate a weighted average.
Example: 85% of players will win $10.00, 5% will win $100. I have a table that is storing the counter information. I just drawing a blank!!! Any help is appreciated!!! JMainus,
Can you provide some DDL, sample data and expected result? AMB Show quote "JMainus" wrote: > Help!!! I'm in a time crunch and need to calculate a weighted average. > Example: 85% of players will win $10.00, 5% will win $100. I have a table > that is storing the counter information. I just drawing a blank!!! > > Any help is appreciated!!! Alejandro,
I have a table that is storing the amounts available; $10, $20, $50 and also the number of available awards per amount, and the percentage field stores the weighted average; ex. 85% can win $10. Thanks for your help. Show quote "Alejandro Mesa" wrote: > JMainus, > > Can you provide some DDL, sample data and expected result? > > > AMB > > "JMainus" wrote: > > > Help!!! I'm in a time crunch and need to calculate a weighted average. > > Example: 85% of players will win $10.00, 5% will win $100. I have a table > > that is storing the counter information. I just drawing a blank!!! > > > > Any help is appreciated!!! |
|||||||||||||||||||||||