Re: ALL() question

From: Julien Cigar <jcigar(at)ulb(dot)ac(dot)be>
To: depesz(at)depesz(dot)com
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: ALL() question
Date: 2007-11-14 15:50:52
Message-ID: 1195055452.3190.23.camel@frodon.be-bif.ulb.ac.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tena Sakai 2007-11-14 17:52:29 postgres bogged down beyond tolerance
Previous Message Osvaldo Rosario Kussama 2007-11-14 15:46:35 Re: ALL() question