Search notes:

ORA-00937: not a single-group group function

Using an aggregate function and at least one non aggregated column without a group by clause causes the error ORA-00937: not a single-group group function to be thrown. (but compare with ORA-00979: not a GROUP BY expression).
Test table:
create table tq84_tab (
   num   number,
   txt   varchar2(10)
);
The following statement throws ORA-00937:
select
   sum(num)   sum_num,
   txt
from
   tq84_tab;
The following query is OK, though:
select
   sum(num)   sum_num,
   txt
from
   tq84_tab
group by
   txt;
Cleaning up:
drop table tq84_tab;

See also

Other Oracle error messages

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759429624, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-00937_not-a-single-group-group-function(65): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78