pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julien Cigar <jcigar@ulb.ac.be>
To: depesz@depesz.com
Cc: pgsql-sql@postgresql.org
Subject: Re: ALL() question
Date: Wed, 14 Nov 2007 16:50:52 +0100
Message-ID: <1195055452.3190.23.camel@frodon.be-bif.ulb.ac.be> (raw)
In-Reply-To: <20071114133116.GA10440@depesz.com>
References: <1195047542.3190.9.camel@frodon.be-bif.ulb.ac.be>
	<20071114133116.GA10440@depesz.com>

Thanks :) it works as expected 

Julien

On Wed, 2007-11-14 at 14:31 +0100, hubert depesz lubaczewski wrote:
> On Wed, Nov 14, 2007 at 02:39:02PM +0100, Julien Cigar wrote:
> > With the following I got a syntax error:
> > select specimen_id 
> > from specimen_test_bits 
> > where test_bit_id = all(1,2,3,4);
> 
> where test_bit_id in (1,2,3,4)
> group by specimen_id
> having count(distinct test_bit_id) = 4;
> 
> depesz
> 




view thread (10+ messages)

Message-ID: <1195055452.3190.23.camel@frodon.be-bif.ulb.ac.be>
Permalink:  ../1195055452.3190.23.camel@frodon.be-bif.ulb.ac.be/
Also on:    postgresql.org/message-id/1195055452.3190.23.camel@frodon.be-bif.ulb.ac.be

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: jcigar@ulb.ac.be, depesz@depesz.com
  Subject: Re: ALL() question
  In-Reply-To: <1195055452.3190.23.camel@frodon.be-bif.ulb.ac.be>

* 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