Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • rm_backup_arch_file.ksh Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Oracle Identifiers Oracle
  • USER_TABLES.Freelists Oracle
  • Recovering lost SYS password Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • chk_space_SID.ksh Linux/Unix
  • Check Oracle installed products using one command Oracle
  • catting.sh Linux/Unix
  • upload.html PHP/MYSQL/Wordpress
  • Display the top 5 salaries for each department using single SQL Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • tar and untar a dolder with all its subfolder. Linux/Unix

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

  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • PLSQL Table Syntax 2 Oracle
  • Rman Notes -1 Oracle
  • Specify the Rollback segment to use in Transaction Oracle
  • arch_configUOCIOTTO.ora Oracle
  • Processes Parameter decision Oracle

Leave a Reply Cancel reply

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

Categories

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

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Find all users who have DML privileges Oracle
  • Temporary tablespace explaination Oracle
  • Oracle 11g Environment Setup Oracle
  • CPU speed on Linux Linux/Unix
  • SYSOPER Mystery Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • How to know Number of CPUs on Sun Box Linux/Unix
  • online_ts_bkup.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme