Re: Last record

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Last record
Дата
Msg-id 3D3EE6F8.C9563D16@Yahoo.com
обсуждение исходный текст
Ответ на Last record  ("Leao Torre do Vale" <elefante400@hotmail.com>)
Список pgsql-sql
Leao Torre do Vale wrote:

> How can select one field of last
> record of table?

There is no such thing as the "last record of a table" in SQL. Somehow
you must be able to describe what you mean with "last record" and how to
identify that. This would then be translated into a qualification (WHERE
clause) and is the answer to your question.


Jan

-- 

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #


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

Предыдущее
От: "Carmen Wai"
Дата:
Сообщение: Case in-sensitive
Следующее
От: Chris Ruprecht
Дата:
Сообщение: Re: Last record