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

Home -> Community -> Mailing Lists -> Oracle-L -> not a single-group group function error

not a single-group group function error

From: Lance Prais <lprais_at_ts.checkpoint.com>
Date: Mon, 28 Jan 2002 16:06:04 -0800
Message-ID: <F001.003FDF25.20020128150526@fatcity.com>

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). Received on Mon Jan 28 2002 - 18:06:04 CST

Original text of this message

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