From: Bruce Momjian <maillist@candle.pha.pa.us>
To: wwwadmin@wizard.ca
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] SubQueries
Date: Tue, 14 Jul 1998 01:01:35 -0400 (EDT)
Message-ID: <199807140501.BAA15861@candle.pha.pa.us> (raw)
In-Reply-To: <35AAE4CA.896AF6FE@wizard.ca>
> Aaaargg.. sub queries aren't implemented?
> Any quick ideas how to get around this ..
> UPDATE table SET time_out='now'
> WHERE time_in=(SELECT max(time_in) FROM table
> WHERE
> account_name='sparky')
> AND account_name='sparky';
They are implemented in 6.3.2.
--
Bruce Momjian | 830 Blythe Avenue
maillist@candle.pha.pa.us | Drexel Hill, Pennsylvania 19026
+ If your life is a hard drive, | (610) 353-9879(w)
+ Christ can be your backup. | (610) 853-3000(h)
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: maillist@candle.pha.pa.us, wwwadmin@wizard.ca
Subject: Re: [SQL] SubQueries
In-Reply-To: <199807140501.BAA15861@candle.pha.pa.us>
References: <35AAE4CA.896AF6FE@wizard.ca> <199807140501.BAA15861@candle.pha.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