MySQL Forums
Forum List  »  Optimizer & Parser

Re: help me, optimize a long running query
Posted by: Rick James
Date: December 27, 2011 10:00PM

Since PubDate seems to be a DATE, use
date_add(CURRENT_DATE(), interval -7 day)

Options: ReplyQuote


Subject
Views
Written By
Posted
2623
October 25, 2011 12:00AM
981
October 27, 2011 12:39AM
1315
December 26, 2011 11:52PM
Re: help me, optimize a long running query
861
December 27, 2011 10:00PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.