pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Olaf Marc Zanger <olaf.zanger@soli-con.com>
To: PgSQL-SQL <pgsql-sql@postgresql.org>
Subject: sum(bool)?
Date: Fri, 23 Feb 2001 16:22:08 +0100
Message-ID: <01022316220800.01026@sino> (raw)

hi there,

i want to add up the "true" values of a comparison like

sum(a>b)

it just doesn't work like this

any workaround?

it is postgresql 7.0 under linux

thanks

olaf



-- 
soli-con Engineering Zanger, Dipl.-Ing. (FH) Olaf Marc Zanger
Lorrainestrasse 23, 3013 Bern / Switzerland
fon:+41-31-332 9782, mob:+41-76-572 9782
mailto:olaf.zanger@soli-con.com, http://www.soli-con.com




view thread (10+ messages)  latest in thread

Message-ID: <01022316220800.01026@sino>
Permalink:  ../01022316220800.01026@sino/
Also on:    postgresql.org/message-id/01022316220800.01026@sino

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: olaf.zanger@soli-con.com
  Subject: Re: sum(bool)?
  In-Reply-To: <01022316220800.01026@sino>
  References: <01022316220800.01026@sino>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox