QuestionQ176Verified/Restricting and Sorting DataCopy linkReport a problemAsk AstroTutorSave questionTop-N analysis requires _____ and _____.Choose twoAthe use of rowidBa GROUP BY clauseCan ORDER BY clauseDonly an inline viewEan inline view and an outer queryShow AnswerAnswerExplanationOracle top-N reporting sorts rows in an inline view using an ORDER BY clause, then uses an outer query to limit the already ordered result set. This ensures that row limiting is applied after sorting. Oracle Database ROWNUM PseudocolumnLearn moreOracle Database ROWNUM PseudocolumnShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion