I have a Employee table in Oracle. It has all the employees and their salaries listed. The Employee table has following columns:
Employee_ID as PK
I need to create a query that list the salaries in desc order with the employee count with each of the salaries. I think I need to
get the distinct salaries first in a sub query and then get the counts... Thanks for any helps.
posted 7 years ago
You may want to look into using "group by", "order by" and "count(*)".