Re: Last record

Поиск
Список
Период
Сортировка
От Chris Ruprecht
Тема Re: Last record
Дата
Msg-id 200207241356.50196.chrup@earthlink.net
обсуждение исходный текст
Ответ на Last record  ("Leao Torre do Vale" <elefante400@hotmail.com>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Jan Wieck
Дата:
Сообщение: Re: Last record
Следующее
От: Wim
Дата:
Сообщение: Trying to write a function...