Archive:PHP and MySQL Programming/Common Functions and Operators: Difference between revisions
Appearance
wikademia>Darklama m restore current version |
wikademia>Darklama m Programming:PHP and MySQL/Common Functions and Operators moved to PHP and MySQL Programming/Common Functions and Operators: using modern naming convention |
(No difference)
| |
Revision as of 13:56, 2 April 2007
COUNT
mysql> SELECT COUNT(*|`field_name`) FROM `table_name`;
SUM
mysql> SELECT SUM(`field_name`) FROM `table_name`;
[[../Basic Queries/|Previous: Basic Queries]] | [[../|TOC]] | [[../XML and PHP/|Next: XML and PHP]]