Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sfjtraps
Yak Posting Veteran
65 Posts |
Posted - 2009-02-25 : 18:09:41
|
| Does anyone know how to select numbers and return the average of the numbers? |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sfjtraps
Yak Posting Veteran
65 Posts |
Posted - 2009-02-25 : 18:32:42
|
| Will the following select an average of number, subtract the average from 1, and then multiply the result by the SUM of number2.SELECT ((1 - AVG(number))*SUM(number2)) AS Something |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
|
|
|