In my table, I have a field named eventdate in datetime format, for example 2010-05-11 00:00:00 .
How to make a request so that it adds one day to the eventdate , for example, if today is 2010-05-11 , I want to show in the where clause in order to return all records from tomorrow date.
Update:
I tried this:
select * from fab_scheduler where custid = 1334666058 and DATE_ADD(eventdate, INTERVAL 1 DAY)
But unfortunately, it returns the same record, even if I add an interval greater than 1.
Result:
2010-05-12 00:00:00
But I only want to select entries with a date tomorrow.
sql mysql
phpBOY May 11 '10 at 12:11 2010-05-11 12:11
source share