I've been trying display all employees with their 1 or more year experience , but it keeps showing all , i'm using DATEDIFF(YEAR,Hired_Date,GETDATE()) >= 1
in where clause but even with less that a yr experience, it keeps showing.
员工人数
ID Hired_Date
001 2018-05-01
002 2018-03-01
003 2020-05-01
004 2019-12-05
005 2017-03-01