Who is online?  0 guests and 0 members
Home  »  Blogs  »  MikeDavis: March 2011

Communifire Blogs

Blogs RSS Feed

MikeDavis :March 2011 postings

MikeDavis

Standard Deviations with CTE

3/25/2011 by MikeDavis  -  Comments: 0  -  Views: [2732]

Standard Deviations with CTE’s in SQL I was working with a client recently getting the number of standard deviations a student was off the average number of suspensions. I accomplished this with two Common Table Expressions, (CTE). The first CTE gets the standard deviation and the average for the entire database. The Database holds all of the schools in the district and this CTE gives use the overall average. The second CTE gets the number of suspensions summed up and grouped by student. In the ...

Read More

Page 1 of 1 (1 items)