~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/functions/aggregatefunctions.rst

  • Committer: Olaf van der Spek
  • Date: 2011-02-28 11:21:35 UTC
  • mto: (2209.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2210.
  • Revision ID: olafvdspek@gmail.com-20110228112135-6ptq6cugxfovt7gj
Fix EOL

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Aggregate Functions
2
 
===================
 
2
===================
3
3
 
4
4
SQL group (aggregate) functions operate on sets of values. If you use an aggregate function in a statement containing no GROUP BY clause, it is equivalent to grouping on all rows.
5
5
 
9
9
 
10
10
        SELECT "function type" ("column_name")
11
11
        FROM "table_name";
12
 
 
13
 
The following are examples of aggregate functions:
 
12
 
 
13
The following are examples of aggregate functions:
14
14
 
15
15
:ref:`avg`:  Return the average value of the argument. (Does not work with temporal values unless first converted to numeric values.)
16
16