is the table I want to display information of employees who have more than 20 years of experience.
i need query for this
is the table I want to display information of employees who have more than 20 years of experience.
i need query for this
I don't know which database you are using, but in oracle database, this will work fine.
select *
from Your_Table
where months_between (sysdate, Your_Employee_Hire_Date_Column) > 12 * 20
;