title: How do I exclude top and bottom 5% of annual salary on 18 million records in TSQL, then use the seleced data to calculate average
body: <p>I have 18 million rows in a column (income), and i would like to exclude the top &amp; bottom 5% of the income to calculate a more accurate average on income.</p>