From: Magnus Hagander <mha@sollentuna.net>
To: Dinesh Tiwari <tiwaridinesh22@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: hi ........i have a query related to MS reporting services
Date: Mon, 28 Aug 2006 10:09:03 +0200
Message-ID: <6BCB9D8A16AC4241919521715F4D8BCEA355C9@algol.sollentuna.se> (raw)
In-Reply-To: <20060828074723.545.qmail@web36405.mail.mud.yahoo.com>
References: <20060828074723.545.qmail@web36405.mail.mud.yahoo.com>
> HI to all of you. I am a new member of this group and this is my
> first mail in this group.I am working in MS Reporting services.And
> i am new in this job.
>
> I have a problem.
> There is a table which has many columns.
> and i have to give selection to client that he can select any top
> 10,25,500,1000, sales by departmentment there are more than 10
> department and he want to see top ten seelings in each department.
> How i can do it.
> without using top 10 syntax iin query.
> i dont have to use top 10 sales from table syntax.
> so please help me.
Take a look at LIMIT.
http://www.postgresql.org/docs/8.1/interactive/queries-limit.html
//Magnus
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: mha@sollentuna.net, tiwaridinesh22@yahoo.com
Subject: Re: hi ........i have a query related to MS reporting services
In-Reply-To: <6BCB9D8A16AC4241919521715F4D8BCEA355C9@algol.sollentuna.se>
References: <20060828074723.545.qmail@web36405.mail.mud.yahoo.com> <6BCB9D8A16AC4241919521715F4D8BCEA355C9@algol.sollentuna.se>
* 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