SyntaxFix
Write A Post
Hire A Developer
Questions
In Oracle below query can give the desired result.
SELECT group,person,Age, ROWNUMBER() OVER (PARTITION BY group ORDER BY age desc ,person asc) as rankForEachGroup FROM tablename where rankForEachGroup=1