My Oracle Support Banner

How to Query Top "N" Rows Ordered by a Column (Doc ID 1009966.6)

Last updated on JANUARY 08, 2024

Applies to:

Oracle Reports Developer - Version 6.0 and later
Oracle Forms for OCI - Version and later
Information in this document applies to any platform.


What SQL SELECT statement do you use to retrieve the top "n" rows ordered by a particular "column"?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.