Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • DBMS_JOB all example Oracle
  • How can I tell if ASO is installed ? Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • How to calculate PROCESSES parameter Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Very Good Oralce Internal Tuning Book Oracle
  • find_longsql.sql Oracle
  • Add new columns in dataframe Python/PySpark
  • ORACLE_SID in sqlplus Oracle
  • Difference between SYNC and AFFIRM Oracle
  • How to set Processes Parameter Oracle
  • Read CSV file using PySpark Python/PySpark
  • db_status.sql Oracle
  • RAC 11g with vmware Oracle

Rownum with Order by

Posted on 31-Mar-2006 By Admin No Comments on Rownum with Order by

Above version 8.0, you can select rows for specified range.

select *

from ( select a.*, rownum rnum

from ( YOUR_QUERY_GOES_HERE — including the order by ) a

where rownum <= MAX_ROWS )
where rnum >= MIN_ROWS

/

Oracle, SQL scripts

Post navigation

Previous Post: tblwopk.sql tablewopk.sql
Next Post: TRUNCATE table and disabling referential constraints.

Related Posts

  • Formatter Explain plan Output 1 Oracle
  • Drop database in Oracle 10g Oracle
  • eplan9i.sql Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • configUOCIOTTO.ora Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • catall.sh Linux/Unix
  • Drop database in Oracle 10g Oracle
  • How to calculate PROCESSES parameter Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • Good RAC & Standby Notes Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • Oracle vs MYSQL Architecture differences (For DBAs) MYSQL
  • TOP-N Sql to find Nth max or Top N rows Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme