From: Chris Ruprecht <chrup@earthlink.net>
To: Leao Torre do Vale <elefante400@hotmail.com>
To: pgsql-sql@postgreSQL.org
Cc: Jan Wieck <JanWieck@Yahoo.com>
Subject: Re: Last record
Date: Wed, 24 Jul 2002 13:56:50 -0400
Message-ID: <200207241356.50196.chrup@earthlink.net> (raw)
In-Reply-To: <OE70wdVVxUC4pAn8hEA000123f0@hotmail.com>
References: <OE70wdVVxUC4pAn8hEA000123f0@hotmail.com>
Select * from <tablename> where <...> desc limit 1;
Desc = from the bottom up, limit 1 = just one record.
Best regards,
Chris
On Wednesday 24 July 2002 10:36 am, Leao Torre do Vale wrote:
> Dear Sir,
>
> If you already have the answer of the question below please, send to me.
>
> Best Regards
>
> Leao
>
> Maputo - Mozambique
>
> How can select one field of last
> record of table?
>
> (ex: SELECT LAST ....)
>
> Thanks
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: chrup@earthlink.net, elefante400@hotmail.com, JanWieck@Yahoo.com
Subject: Re: Last record
In-Reply-To: <200207241356.50196.chrup@earthlink.net>
* 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