select ( select sum(total_salary) from [vw_salary] where year = '2012' and dist_name = 'Sch Dist') --totalsal / (select count(distinct distenroll) from dbo.vw_Salary where year = '2012' and dist_name = 'Sch Dist') -- DistEnroll
or better:
select sum(total_salary) / count(distinct distenroll) from [vw_salary] where year = '2012' and dist_name = 'Sch Dist'
source share