From: Tom Lane <tgl@sss.pgh.pa.us>
To: Sara Cohen <sarina@cs.huji.ac.il>
Cc: pgsql-sql@postgresql.org
Subject: Re: Subqueries in select clause
Date: Wed, 18 Apr 2001 10:12:43 -0400
Message-ID: <9423.987603163@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.20_heb2.08.0104181244450.32127-100000@inferno-01.cs.huji.ac.il>
References: <Pine.LNX.4.20_heb2.08.0104181244450.32127-100000@inferno-01.cs.huji.ac.il>
Sara Cohen <sarina@cs.huji.ac.il> writes:
> Using Oracle, I could get by this problem with:
> select max(d) from ((select count(b) as d from c group by a));
> However, my version of postgres doesn't support subqueries in the from
> clause.
Time to update to 7.1...
regards, tom lane
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: tgl@sss.pgh.pa.us, sarina@cs.huji.ac.il
Subject: Re: Subqueries in select clause
In-Reply-To: <9423.987603163@sss.pgh.pa.us>
References: <Pine.LNX.4.20_heb2.08.0104181244450.32127-100000@inferno-01.cs.huji.ac.il> <9423.987603163@sss.pgh.pa.us>
* 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