Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 4F35F9FB6E9 for ; Wed, 1 Nov 2006 14:49:58 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 76264-06-2 for ; Wed, 1 Nov 2006 18:48:05 +0000 (UTC) X-Greylist: delayed 00:27:31.865541 by SQLgrey- Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 77FF39FBE0D for ; Wed, 1 Nov 2006 12:44:23 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from azrel1.aztecsoft.com (azrel1.aztecsoft.com [164.164.151.108]) by svr4.postgresql.org (Postfix) with ESMTP id 231E15AF2CB for ; Wed, 1 Nov 2006 16:16:49 +0000 (GMT) Received: from azrel1.aztecsoft.com (localhost.localdomain [127.0.0.1]) by azrel1.aztecsoft.com (8.12.10/8.12.10) with ESMTP id kA1GGqhT010557 for ; Wed, 1 Nov 2006 21:46:52 +0530 Received: from azindbaex01.aztec.soft (azindbaex01.aztecsoft.com [192.168.151.99])by azrel1.aztecsoft.com (8.12.10/8.12.10) with ESMTP id kA1GGq28010553for ; Wed, 1 Nov 2006 21:46:52 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C6FDD1.50A1C63F" Subject: Distribution of results Date: Wed, 1 Nov 2006 21:47:44 +0530 Message-ID: <93F0E3CFC1ABB646B8808894FC7CDD25067221E2@azindbaex01.aztec.soft> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Distribution of results Thread-Index: Acb90UMnOzG46DsTTgunVj4VpqFYZA== From: "Raghuraman K" To: X-imss-version: 2.043 X-imss-result: Passed X-imss-scanInfo: M:P L:E SM:0 X-imss-tmaseResult: TT:0 TS:0.0000 TC:00 TRN:0 TV:3.6.1039(14750.003) X-imss-scores: Clean:64.11167 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:1 C:1 M:1 S:1 R:1 (0.0000 0.0000) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.306 tagged_above=0 required=5 tests=BAYES_40, HTML_30_40, HTML_MESSAGE, HTML_TEXT_AFTER_BODY, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200611/63 X-Sequence-Number: 26715 This is a multi-part message in MIME format. ------_=_NextPart_001_01C6FDD1.50A1C63F Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, =0D I have a table like this: create table(xyz char(10), answer number(4)). = There are a lot of rows in this table. I am looking at a query that will= help me represent the distribution of data records based on the column= answer. For example, we may take that the highest entry for answer column= is 90 and the lowest is 2 and there are 1000 records. I am looking at a= query that will tell how the 1000 records are distributed between the= highest and lowest answer (in this case between 90 and 2). Can anyone= please help? =0D Regards, =0D Raghu The information contained in, or attached to, this e-mail, contains= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and is subject to legal= privilege. If you have received this e-mail in error you should notify the= sender immediately by reply e-mail, delete the message from your system= and notify your system manager. Please do not copy it for any purpose, or= disclose its contents to any other person. The views or opinions presented= in this e-mail are solely those of the author and do not necessarily= represent those of the company. The recipient should check this e-mail and= any attachments for the presence of viruses. The company accepts no= liability for any damage caused, directly or indirectly, by any virus= transmitted in this email. www.aztecsoft.com ------_=_NextPart_001_01C6FDD1.50A1C63F Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
   I have a table like this:= create=0D table(xyz char(10), answer number(4)).  There are a lot of rows in= this=0D table. I am looking at a query that will help me represent the distribution= of=0D data records based on the column answer. For example, we may take that the= =0D highest entry for answer column is 90 and the lowest is 2 and there are= 1000=0D records. I am looking at a query that will tell how the 1000 records are=0D distributed between the highest and lowest answer (in this case between 90= and=0D 2).  Can anyone please help?
 
   Regards,
 
Raghu

The information contained in, or attached to, this e-mail, contains= confidential information and is intended solely for the use of the= individual or entity to whom they are addressed and is subject to legal= privilege. If you have received this e-mail in error you should notify the= sender immediately by reply e-mail, delete the message from your system= and notify your system manager. Please do not copy it for any purpose, or= disclose its contents to any other person. The views or opinions presented= in this e-mail are solely those of the author and do not necessarily= represent those of the company. The recipient should check this e-mail and= any attachments for the presence of viruses. The company accepts no= liability for any damage caused, directly or indirectly, by any virus= transmitted in this email.

www.aztecsoft.com
------_=_NextPart_001_01C6FDD1.50A1C63F--