Please help I don't know what I'm doing wrong.
select state, count(CID)
from customers
group by CID asc;
I'm trying to get the states in ascending order based on the number of unique CID's associated with it. I keep getting this error:
ORA-00979: not a GROUP BY expression 00979. 00000 - "not a GROUP BY expression" *Cause: *Action: Error at Line: 2 Column: 3