Deepak Guptha S
03/02/2022, 8:57 AMSELECT *
FROM employees
WHERE DATEDIFF(hire_date, STR_TO_DATE('2021-01-01', '%Y-%m-%d')) >= 0
Anyone has the solution for it ?hela
03/02/2022, 9:12 AMDATEDIFF
here (or STR_TO_DATE
). You could just use gte
for the hire_date
Deepak Guptha S
03/02/2022, 9:16 AMDeepak Guptha S
03/02/2022, 12:32 PM