pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Wieck <JanWieck@Yahoo.com>
To: Leao Torre do Vale <elefante400@hotmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Last record
Date: Wed, 24 Jul 2002 13:42:16 -0400
Message-ID: <3D3EE6F8.C9563D16@Yahoo.com> (raw)
References: <OE70wdVVxUC4pAn8hEA000123f0@hotmail.com>

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 #



view thread (4+ messages)  latest in thread

Message-ID: <3D3EE6F8.C9563D16@Yahoo.com>
Permalink:  ../3D3EE6F8.C9563D16@Yahoo.com/
Also on:    postgresql.org/message-id/3D3EE6F8.C9563D16@Yahoo.com

 · 

reply

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: JanWieck@Yahoo.com, elefante400@hotmail.com
  Subject: Re: Last record
  In-Reply-To: <3D3EE6F8.C9563D16@Yahoo.com>

* 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