SubQueries - Mailing list pgsql-sql

From The Web Administrator
Subject SubQueries
Date
Msg-id 35AAE4CA.896AF6FE@wizard.ca
Whole thread Raw
Responses Re: [SQL] SubQueries
List pgsql-sql
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';

--
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Michael - System Administrator              Working in Cheap Canadian
Dollars
Unix Administration - WebSite Hosting - Network Services - Programming
Wizard Internet Services - TechnoWizard Computers - Wizard Tower
TechnoServices
------------------------------------------------------------------------------

(604) 589-0037          Beautiful British Columbia, Canada
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




pgsql-sql by date:

Previous
From: Marc Howard Zuckman
Date:
Subject: Re: [SQL] case-insensitive lookups...
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] SubQueries