create view as 
select 部门名称,
(select sum(1) 人数1 from ONE where 工资 between 1000 and 2000),
(select sum(1) 人数2 from ONE where 工资 between 2000 and 3000),
(select sum(1) 人数3 from ONE where 工资 between 3000 and 4000) from ONE