Statistics in SQL (Sample Chapter)

By Bill Graziano on 27 May 2002 | Tags: Queries


Ales Spetic submitted "While SQL was never designed to be a statistics package, the language is quite versatile and holds a lot of hidden potential when it comes to calculating statistics. If you need a fast, easy-to-use tool for quick analysis of an existing data set, then the concepts presented in this article may prove quite helpful. The text covers topics like: Means, Modes, Medians Standard deviations, Variances, Standard errors. Confidence intervals, Correlations, Moving averages, Weighted moving averages."

Link: Statistics in SQL (Sample Chapter)


Related Articles

Using Dynamic SQL in Stored Procedures (7 March 2011)

Joining to the Next Sequential Row (2 April 2008)

Writing Outer Joins in T-SQL (11 February 2008)

Aggregating Correlated Sub-Queries (23 October 2007)

How to Use GROUP BY with Distinct Aggregates and Derived tables (31 July 2007)

How to Use GROUP BY in SQL Server (30 July 2007)

Returning Complex Data from User-Defined Functions with CROSS APPLY (11 June 2007)

Returning a week number for any given date and starting fiscal month (2 May 2007)

Other Recent Forum Posts

Install visual studio and MS SQL server (44m)

Find data source of created SSRS report (19h)

MySQL Union of multiple tables with different number of columns, ordered by another table to get the changed columns name (1d)

How do I group individual events by year? (2d)

Why Am I unable to request Forgotten Password? (2d)

FileTables or Remote BLOB Store SQL Server 2017 (2d)

SQL JSON_Query is not working as expected when using case with For Json Auto or For Json Path (2d)

Patients_summative (2d)

- Advertisement -