5
Good afternoon,
I have the following problem:
I have a column DATA_ENTRADA date type and need a select to compare the DATA_ENTRADA and the "current date" ( ex: today is 28/08/2015, tomorrow would be 29/08/2015 ), and return me only the records with the data_input >= 90 days
If anyone can help me thank you, I’ve tried everything but without success.
everything I searched referred me to between, but I can only get queries between specific dates, and what I need is dates > 90 days, comparing the input date and the current date.
– maycon rocha
Someone tested my answer, because only I didn’t win +1 ? it hurts.... if I could vote on my own answer I would vote...
– SneepS NinjA
@mayconrocha you want from the current date now() kurdate() the records that are 90 days after or 90 days earlier because it has 2 responses p/ each interpretation
– SneepS NinjA