Hi
here's my query:
date_entered is a DATE held in my database and is datetime.
I am trying to highlight the records where the date_entered has now exceeded 14 days since it was entered into the database.
I know I have got the syntax all wrong so anyone got any ideas.
here's my query:
Code:
"SELECT * from customer WHERE DATE_ADD(date_entered INTERVAL 14 DAY)";
date_entered is a DATE held in my database and is datetime.
I am trying to highlight the records where the date_entered has now exceeded 14 days since it was entered into the database.
I know I have got the syntax all wrong so anyone got any ideas.