0 votes
Write an Oracle SQL query to find the five most common names in the Employee table.
in Oracle by

1 Answer

0 votes

SELECT name, COUNT(*) AS name_count

FROM Employee

GROUP BY name

ORDER BY name_count DESC

FETCH FIRST 5 ROWS ONLY;

by
...