selecting a column average into table

From: "Shawhan, Douglas (GEAE, GECC)" <douglas(dot)shawhan(at)ae(dot)ge(dot)com>
To: "'pgsql-novice(at)postgresql(dot)org'" <pgsql-novice(at)postgresql(dot)org>
Subject: selecting a column average into table
Date: 2001-06-05 17:19:23
Message-ID: 326FFBE574BED411ACA100D0B79DC2B5580BC6@ma001dataaege.ae.ge.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Weeeellll...

I wish to select the average of a column populated with integers into a
table

I have established in my mind that:

select avg(nebbish.numbers) into shebang from numbers ;

ain't going to cut it. Can anyone point me in the right direction?

d

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Manuel Sugawara 2001-06-05 22:01:14 Re: problem selecting multiple records (again!)
Previous Message Matteo Centenaro 2001-06-05 11:20:01 problem with Pl/Pgsql function