SQL> SQL> SELECT username, default_tablespace 2 FROM dba_users 3 where rownum<50 4 GROUP BY default_tablespace; SELECT username, default_tablespace * ERROR at line 1: ORA-00979: not a GROUP BY expression SQL>