Re: short-cutting if sum()>constant

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: short-cutting if sum()>constant
Date: 2009-12-22 17:30:09
Message-ID: 20091222173009.GA15386@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

msi77 <msi77(at)yandex(dot)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°

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message msi77 2009-12-22 19:15:02 Re: short-cutting if sum()>constant
Previous Message Ivan Sergio Borgonovo 2009-12-22 17:20:06 Re: short-cutting if sum()>constant