I'm a newbie. I have a table of employees with a column indicating the date of joining, and I want to get a list of employees who have joined in the last 3 months. I understand that we can get the current date using from_unixtime (unix_timestamp ()). How to calculate datiff? Is there a built-in DATEDIFF () function, for example, in MS SQL? please advice!
source
share