Re: sql query
| From: | pete M | Date: | Tue, 25 Nov 2003 18:24:57 +0000 |
| Subject: | Re: sql query | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31751@lists.php.net to get a copy of this message | ||
got round the problem like this
select distinct(to_days(date_file_created)), date_file_created from files
Pete M wrote:
why does this select date(date_file_created) from files create the error error near near '(date_file_created) from files' at line 1 trying to extract the date part of the date_tile filed tia pete