use studb; -- 查询2022年入职的所有员工 select * from t_emp where hire_date between '2022-01-01' and '2022-12-31';