|
|||||||||||
|
RE: Count syntax
From: Weston, Craig (OFT) <Craig.Weston(at)oft.state.ny.us>
Date: Fri Sep 28 2007 - 14:01:05 EDT
http://dev.mysql.com/tech-resources/articles/wizard/print_version.html
Cheers,
This e-mail, including any attachments, may be confidential, privileged or otherwise legally protected. It is intended only for the addressee. If you received this e-mail in error or from someone who was not authorized to send it to you, do not disseminate, copy or otherwise use this e-mail or its attachments. Please notify the sender immediately by reply e-mail and delete the e-mail from your system. -----Original Message-----
From: Michael Dykman [mailto:mdykman@gmail.com]
Sent: Friday, September 28, 2007 1:36 PM
To: Beauford
1 means that 1 will be added to the sum if the condition tests, otherwise 0 will be added to the sum. the condition in this case is (supportertype = 'L') and will be applied to every row.
On 9/28/07, Beauford <php-list-user@netscan.ca> wrote:
-- - michael dykman - mdykman@gmail.com - All models are wrong. Some models are useful. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=craig.weston@oft.state.ny.us -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=lists@pantek.comReceived on Fri Sep 28 14:02:18 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:12:44 EDT |
||||||||||
|
|||||||||||