Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group