select date YYYY-MM mysql help
| From: | Max Clark | Date: | Thu, 02 Jan 2003 22:40:22 +0000 |
| Subject: | select date YYYY-MM mysql help | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24499@lists.php.net to get a copy of this message | ||
Hi all,
I would like to do a query like this from mysql:
select * from table where date = '2002-12';
However unless I have the complete date '2002-12-26' the query doesn't work
correctly. What else do I need?
Thanks in advance,
Max