ql-ow...@postgresql.org] *On Behalf Of *Marcin Krawczyk
> *Sent:* Mittwoch, 8. Dezember 2010 14:20
> *To:* Pavel Stehule
> *Cc:* pgsql-sql@postgresql.org
> *Subject:* Re: [SQL] conditional aggregates
>
>
>
> Yeah I know but I'm having problems creating sfunc fuction for th
Re: [SQL] conditional aggregates
Yeah I know but I'm having problems creating sfunc fuction for the
aggregate.
regards
mk
2010/12/8 Pavel Stehule
Hello
use a CASE statement
http://www.postgresql.org/docs/7.4/static/functions-conditional.html
Regards
Pavel Stehule
2010/12/
Yeah I know but I'm having problems creating sfunc fuction for the
aggregate.
regards
mk
2010/12/8 Pavel Stehule
> Hello
>
> use a CASE statement
>
> http://www.postgresql.org/docs/7.4/static/functions-conditional.html
>
> Regards
>
> Pavel Stehule
>
> 2010/12/8 Marcin Krawczyk :
> > Hi list,
Hello
use a CASE statement
http://www.postgresql.org/docs/7.4/static/functions-conditional.html
Regards
Pavel Stehule
2010/12/8 Marcin Krawczyk :
> Hi list,
> Can anyone advise me on creating an aggregate that would take additional
> parameter as a condition ? For example, say I have a table l