X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 49FB2D1B897 for ; Tue, 26 Aug 2003 15:07:56 -0300 (ADT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 83338-05 for ; Tue, 26 Aug 2003 15:07:45 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id 2D042D1B8D5 for ; Tue, 26 Aug 2003 15:07:44 -0300 (ADT) Received: (qmail 18367 invoked by uid 500); 26 Aug 2003 18:13:39 -0000 Date: Tue, 26 Aug 2003 13:13:39 -0500 From: Bruno Wolff III To: shyamperi@davlin.co.in Cc: pgsql-sql@postgresql.org Subject: Re: Fetch the required rows Message-ID: <20030826181339.GC17741@wolff.to> Mail-Followup-To: shyamperi@davlin.co.in, pgsql-sql@postgresql.org References: <2014547.1061920385739.JavaMail.tomcat@mail.davlin.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2014547.1061920385739.JavaMail.tomcat@mail.davlin.co.in> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/311 X-Sequence-Number: 14927 On Tue, Aug 26, 2003 at 23:15:48 +0530, shyamperi@davlin.co.in wrote: > August 26th 2003 > 11:30p > How do I get the required number of rows thru a query.. > I mean...If I want to show 10 tuples per page.. instead of getting all the tuples from the relation and do some front end manipulation, is there any way by which I can get only 10 required tuples from the relation You can use limit and offset to do this.