Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Group By - Without using aggregate functions

RE: Group By - Without using aggregate functions

From: Martin Kendall <mkendall_at_oracle-rescue.com>
Date: Tue, 24 Sep 2002 05:58:27 -0800
Message-ID: <F001.004D7C14.20020924055827@fatcity.com>


Hi Abdul,

It is an Oracle thing. Check-out the docs.

-----Original Message-----

Aleem
Sent: 24 September 2002 13:44
To: Multiple recipients of list ORACLE-L

What's ROLLUP and CUBE is it Oracle's or is it from Java. TIA!
Aleem

 -----Original Message-----

Sent:	Tuesday, September 24, 2002 10:43 AM
To:	Multiple recipients of list ORACLE-L
Subject:	Re: Group By  - Without using aggregate functions

Check if ROLLUP or CUBE helps.

Hi Gurus,

I would like to group by the result of a select statement based on a particular column.
But I am not using any aggregate function in the select list. For eg. select deptno, empno from emp

           group by deptno, empno;

I tried to do it in sqlplus by setting
BREAK ON <column name> and it works.
But I want use this query in a java program. Is there any solution for this?
TIA regards,
Karthik

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Karthikeyan S
  INET: skarthik_at_globalsw-in.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Nikunj Gupta
  INET: good_dba_at_hotmail.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Abdul Aleem
  INET: dmit_at_beaconhouse.edu.pk
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Martin Kendall
  INET: mkendall_at_oracle-rescue.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services

---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Tue Sep 24 2002 - 08:58:27 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US