Postgres Date Functions

Поиск
Список
Период
Сортировка
От Robert Hiltibidal
Тема Postgres Date Functions
Дата
Msg-id 3.0.6.32.19991117111814.0095ba20@y2k.state.il.us
обсуждение исходный текст
Список pgsql-interfaces
Afternoon,

Here's a thorny problem:

Given I have a field called entrydate and is set to type datetime, what is
the best way to pull the latest entry into that record basing the query off
of entrydate?

Currently I am using something like:

Select * from tblApplication order by EntryDate desc

That query pulls all the records. I wish to pull only one.

Thanks,

-Rob



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

Предыдущее
От: Ales Pour
Дата:
Сообщение: ...
Следующее
От: "Tim Joyce"
Дата:
Сообщение: Re: [INTERFACES] Postgres Date Functions