Re: Is this possible or am I on drugs :) - Mailing list pgsql-general

From Tod McQuillin
Subject Re: Is this possible or am I on drugs :)
Date
Msg-id Pine.GSO.4.21.0011280046420.8923-100000@sysadmin
Whole thread Raw
In response to Re: Is this possible or am I on drugs :)  (shawn everett <everett@pgweb.com>)
List pgsql-general
On Mon, 27 Nov 2000, shawn everett wrote:

> select colA, colB, colA+colB*0.4 as f1, colC, colC+colD*9 as f2 from table
> where date=SomeDateEnteredByTheUser;

CREATE VIEW v1 AS
select colA, colB, colA+colB*0.4 as f1, colC, colC+colD*9 as f2, date
from table;

SELECT colA, colB, f1, colC, f2
FROM v1 where date=SomeDateEnteredByTheUser;
--
Tod McQuillin



pgsql-general by date:

Previous
From: shawn everett
Date:
Subject: Re: Is this possible or am I on drugs :)
Next
From: Tom Lane
Date:
Subject: Re: Is this possible or am I on drugs :)