#38619 [Opn->Fbk]: SUM or AVG functions doesn't work in mysql Querys
| From: | derick@php.net | Date: | Mon, 28 Aug 2006 07:05:29 +0000 |
| Subject: | #38619 [Opn->Fbk]: SUM or AVG functions doesn't work in mysql Querys | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-101411@lists.php.net to get a copy of this message | ||
ID: 38619
Updated by: derick@php.net
Reported By: superbaloo at gmail dot com
-Status: Open
+Status: Feedback
Bug Type: PDO related
Operating System: Linux - Debian SID
PHP Version: 5.1.5
New Comment:
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2006-08-27 23:34:11] superbaloo at gmail dot com
Description:
------------
When i try to execute this following query in mysql :
SELECT SUM(
count)
FROM table
WHERE 1
It will result this error : SQLSTATE[HY000]: General error: 2036
I'm using MySQL - 5.0.24-Debian_1-log and PHP 5.1.6
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38619&edit=1