X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 4B28E9FA5C8 for ; Thu, 1 Jun 2006 15:53:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 51213-06 for ; Thu, 1 Jun 2006 15:53:42 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from guinness.cs.stevens-tech.edu (guinness.cs.stevens-tech.edu [155.246.89.8]) by postgresql.org (Postfix) with ESMTP id 654FC9FA040 for ; Thu, 1 Jun 2006 15:53:42 -0300 (ADT) Received: from pink-elephant.cs.stevens.edu (pink-elephant.cs.stevens-tech.edu [155.246.81.117]) by guinness.cs.stevens-tech.edu (Postfix) with ESMTP id C4A11164CC for ; Thu, 1 Jun 2006 14:53:41 -0400 (EDT) Received: by pink-elephant.cs.stevens.edu (Postfix, from userid 4405) id 338D21EF36B; Thu, 1 Jun 2006 14:53:41 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by pink-elephant.cs.stevens.edu (Postfix) with ESMTP id 09EFC1EF0A3 for ; Thu, 1 Jun 2006 14:53:41 -0400 (EDT) Date: Thu, 1 Jun 2006 14:53:41 -0400 (EDT) From: Yasir Malik X-X-Sender: ymalik@pink-elephant.cs.stevens-tech.edu To: PostgreSQL Subject: Re: Am I crazy or is this SQL not possible In-Reply-To: <447F34B1.5020004@oisinglynn.com> Message-ID: References: <447F34B1.5020004@oisinglynn.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/20 X-Sequence-Number: 25256 > select max(date_sent) from table; > would equal > select date_sent from broadcast_history order by date_sent DESC limit 1; > That sounds like a hack. Is limit a SQL-99 standard? Is there are another way to do this? Sorry to take over your topic, Collin. Thanks, Yasir