SQL Server Video to Remove Outliers from Data Sets

By:   |   Comments   |   Related: More > Import and Export




Problem / Solution

When looking at data and trying to determine meaningful trends it is helpful to remove any outlier data, so the reports and graphs depict an accurate picture.  In this tip, Tim Smith shows us how to use a SQL Server stored procedure to analyze the data and remove any outliers from the dataset.  We will look at a sample dataset and the expected results by using averages and standard deviations to determine the outliers for the dataset.

Key Learning Items
  • Why tracking outliers is important and how it can affect our data.
  • How to remove outliers from a data set, by building a table without outliers.
Read Companion Tip
Click Here


sql server categories

sql server webinars

subscribe to mssqltips

sql server tutorials

sql server white papers

next tip



About the author
MSSQLTips author Tim Smith Tim Smith works as a DBA and developer and also teaches Automating ETL on Udemy.

This author pledges the content of this article is based on professional experience and not AI generated.

View all my tips



Comments For This Article

















get free sql tips
agree to terms