Re: short-cutting if sum()>constant - Mailing list pgsql-sql

From Andreas Kretschmer
Subject Re: short-cutting if sum()>constant
Date
Msg-id 20091222173009.GA15386@tux
Whole thread Raw
In response to Re: short-cutting if sum()>constant  (msi77 <msi77@yandex.ru>)
Responses Re: short-cutting if sum()>constant
List pgsql-sql
msi77 <msi77@yandex.ru> wrote:

> Does PG support CTE?

Since 8.4 yes.


> You can try it.

Sorry, but i don't know how a CTE can help in this case, can you explain
that?


Andreas
-- 
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°


pgsql-sql by date:

Previous
From: Ivan Sergio Borgonovo
Date:
Subject: Re: short-cutting if sum()>constant
Next
From: msi77
Date:
Subject: Re: short-cutting if sum()>constant