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: not a single-group group function error

Re: not a single-group group function error

From: Regina Harter <rharter_at_emc-inc.com>
Date: Mon, 28 Jan 2002 16:46:30 -0800
Message-ID: <F001.003FE099.20020128164024@fatcity.com>

Even if you got this to work, the three numbers would all be the same. Maybe you should explain what result you are attempting to show.

At 03:05 PM 1/28/02 -0800, you wrote:
>Why when I use the following SQL it get a
>ORA-00937: not a single-group group function
>ORA-06512: at "PRIMUS.LICENSE_USE_EVERY_30", line 14
>ORA-06512: at line 1
>
>
>Thank you in advance
>Lance
>
>SELECT
> ROUND(AVG(COUNT(Time_stamp))),
> MIN(COUNT(time_stamp)),
> MAX(COUNT(time_stamp)),
> Time_stamp
> FROM
> cp_license_use
> Where time_stamp = parmTime
> and time_stamp >= SYSDATE-7
> group by Time_Stamp)
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Lance Prais
> INET: lprais_at_ts.checkpoint.com
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>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: Regina Harter
  INET: rharter_at_emc-inc.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Mon Jan 28 2002 - 18:46:30 CST

Original text of this message

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