Re: Getting The Last Entry

Поиск
Список
Период
Сортировка
От Thom Brown
Тема Re: Getting The Last Entry
Дата
Msg-id AANLkTinK=n+wKpOA+MXM1=MP71gM8nEWH73Yf8+XuRi+@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Getting The Last Entry  (Thom Brown <thom@linux.com>)
Ответы Re: Getting The Last Entry
Список pgsql-novice
On 10 September 2010 16:31, Francisco Leovey <fleovey@yahoo.com> wrote:
>
> if by "last" you mean the last row inserted, use
>
> select *,oid from table order by oid DESC limit 1
>
> (asuming you use OID's)

(copying in list with your response)

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

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