sum of row values.. - Mailing list pgsql-general

From Fabrizio Mazzoni
Subject sum of row values..
Date
Msg-id 000901c0f409$cf2ba180$4f00a8c0@fabrizio
Whole thread Raw
Responses Re: sum of row values..  (Alex Pilosov <alex@pilosoft.com>)
Re: sum of row values..  ("Thalis A. Kalfigopoulos" <thalis@cs.pitt.edu>)
List pgsql-general
hi all..
i have a big problem..why is this impossible in postgresql:

table test: (1 column)

first
------
1
2
3
4
5
6
7
8
9


select first as value, value*2 as result from test;

How can i accomplish this?? I need it for a very big table that will use
also functions in it..

Thanks..

fabrizio@macrongolf.com
http://macrongolf.com
http://eteampoint.com
http://macron.com


pgsql-general by date:

Previous
From: "Dave Cramer"
Date:
Subject: Log files, how to rotate properly
Next
From: "Sergei Pohilko"
Date:
Subject: Problem with multibyte encoding