MySQL Forums
Forum List  »  PHP

Re: Problems with date ranges and missing records
Posted by: Slava Divxak
Date: July 28, 2005 07:21AM

James Delaney wrote:

SELECT
DATE_FORMAT(DateArrived, '%d/%m'),
COUNT(*)
FROM
items
WHERE
(DateArrived <= '2005-07-25') AND
(DateArrived >= '2005-07-05')

Trust me! I'm the best! :)

Options: ReplyQuote


Subject
Written By
Posted
Re: Problems with date ranges and missing records
July 28, 2005 07:21AM


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.