pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A. Kretschmer <andreas.kretschmer@schollglas.com>
To: pgsql-sql@postgresql.org
Subject: Re: restircting rows
Date: Wed, 22 Feb 2006 10:19:40 +0100
Message-ID: <20060222091939.GD30367@webserv.wug-glas.de> (raw)
In-Reply-To: <20060222090657.17853.qmail@webmail49.rediffmail.com>
References: <20060222090657.17853.qmail@webmail49.rediffmail.com>

am  22.02.2006, um  9:06:57 -0000 mailte padmanabha konkodi folgendes:
>   
>   
> hi all,
> 
> my query return 100 rows but if i am intrested only from 40-60 rows then how to restrict.
> 
> for example
> 
> select * from students (returns 100 rows).but i am intrested only rows from 40 to 60.

select * from students limit 20 offset 40;


HTH, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 



view thread (4+ messages)  latest in thread

Message-ID: <20060222091939.GD30367@webserv.wug-glas.de>
Permalink:  ../20060222091939.GD30367@webserv.wug-glas.de/
Also on:    postgresql.org/message-id/20060222091939.GD30367@webserv.wug-glas.de

 · 

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: andreas.kretschmer@schollglas.com
  Subject: Re: restircting rows
  In-Reply-To: <20060222091939.GD30367@webserv.wug-glas.de>

* 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