pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gerald Gutierrez <gml1@coldresist.com>
To: pgsql-sql@postgresql.org
Subject: Re: Getting row with id=max(id)
Date: Thu, 07 Jun 2001 12:17:14 -0700
Message-ID: <5.1.0.14.0.20010607121617.02b925d0@coldresist.com> (raw)
In-Reply-To: <5.1.0.14.0.20010607120835.02bbbd60@coldresist.com>
References: <Pine.LNX.4.30.0106071929140.757-100000@peter.localdomain>
	<5.1.0.14.0.20010607100000.02b8ae58@coldresist.com>


>=> explain select id from mytable order by seed desc limit 1;

Oops, a cut & paste mistake. That should be:

explain select id from mytable order by id desc limit 1;




view thread (8+ messages)  latest in thread

Message-ID: <5.1.0.14.0.20010607121617.02b925d0@coldresist.com>
Permalink:  ../5.1.0.14.0.20010607121617.02b925d0@coldresist.com/
Also on:    postgresql.org/message-id/5.1.0.14.0.20010607121617.02b925d0@coldresist.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: gml1@coldresist.com
  Subject: Re: Getting row with id=max(id)
  In-Reply-To: <5.1.0.14.0.20010607121617.02b925d0@coldresist.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