Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I have a problem with a query... I want to know how I can do to have THE 'name' that occur the most often in a table for example with the number of time it occur...
My solution was :
select name, max(count(name))
from cie
group by name;
but I get the error :
ERROR at line 1:
ORA-00937: not a single-group group function
If someone know how I can do to solve my problem...
Thanks
I have a problem with a query... I want to know how I can do to have THE 'name' that occur the most often in a table for example with the number of time it occur...
My solution was :
select name, max(count(name))
from cie
group by name;
but I get the error :
ERROR at line 1:
ORA-00937: not a single-group group function
If someone know how I can do to solve my problem...
Thanks