Skip site navigation (1) Skip section navigation (2)

Should the following work...?

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Should the following work...?
Date: 1999-03-30 17:18:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
select id 
  from clients 
 where id = ( select id 
                from clients 
               where count(id) = 1 ) ;

The error I get is that you can't do the AGGREGATE int he WHERE clause,
but this is with a pre-v6.5 server too...technically, should the above be

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ 
primary: scrappy(at)hub(dot)org           secondary: scrappy(at){freebsd|postgresql}.org 


pgsql-hackers by date

Next:From: Andrew MerrillDate: 1999-03-30 17:25:39
Subject: Re: [SQL] indexing a datetime by date
Previous:From: Thomas LockhartDate: 1999-03-30 16:37:50
Subject: Re: [HACKERS] Regression failures

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group