Re: function to operate on same fields, different records?

From: "Gregory Wood" <gregw(at)com-stock(dot)com>
To: "PostgreSQL-General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: function to operate on same fields, different records?
Date: 2001-03-30 05:27:39
Message-ID: 007a01c0b8da$34cd8780$7889ffcc@comstock.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> SELECT sum(grade) / count(grade) As GPA FROM grades;
> ^^^^ (bad juju if 0)

No kidding... that kid totally failed ALL his classes! And before someone
points it out, yes I saw the DBZ.

Greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message datactrl 2001-03-30 05:36:49 PostGreSQL 7.1
Previous Message Gregory Wood 2001-03-30 05:25:29 Re: Consistent pg_dump's