From: Michael Glaesemann <grzm@myrealbox.com>
To: padmanabha konkodi <konkodi221@rediffmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: restircting rows
Date: Wed, 22 Feb 2006 18:23:40 +0900
Message-ID: <D8960DB9-62BC-4060-82E7-45F94EA2195A@myrealbox.com> (raw)
In-Reply-To: <20060222090657.17853.qmail@webmail49.rediffmail.com>
References: <20060222090657.17853.qmail@webmail49.rediffmail.com>
On Feb 22, 2006, at 18:06 , padmanabha konkodi wrote:
> 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.
See LIMIT and OFFSET.
http://www.postgresql.org/docs/8.1/interactive/sql-select.html#SQL-LIMIT
Michael Glaesemann
grzm myrealbox com
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: grzm@myrealbox.com, konkodi221@rediffmail.com
Subject: Re: restircting rows
In-Reply-To: <D8960DB9-62BC-4060-82E7-45F94EA2195A@myrealbox.com>
References: <20060222090657.17853.qmail@webmail49.rediffmail.com> <D8960DB9-62BC-4060-82E7-45F94EA2195A@myrealbox.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