Hi,
How to select 10th row from a table having 100 rows?
Any suggestions are welcome.
Selecting a perticular row in a table
-
- Posts: 43
- Joined: Tue Dec 07, 2010 5:32 pm
- Skillset: COBOL,JCL,DB2,VSAM,CA7
- Referer: Google
- Akatsukami
- Global moderator
- Posts: 1058
- Joined: Sat Oct 16, 2010 2:31 am
- Skillset: Rexx, JCL, DB2/SQL, TSO/ISPF, PL/I
- Referer: ibmmainframes
- Location: Bloomington, IL
- Contact:
Re: Selecting a perticular row in a table
raghuvanshi wrote:Hi,
How to select 10th row from a table having 100 rows?
Any suggestions are welcome.
At the level of abstraction of a relational table, there is no 10th row, or any nth row; the rows are in no guaranteed order unless one is imposed on them by a ORDER BY clause.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
-
- Similar Topics
- Replies
- Views
- Last post
-
- 0
- 3075
-
by dylson
View the latest post
Sat Aug 01, 2020 11:09 pm
-
- 5
- 2759
-
by sergeyken
View the latest post
Thu Feb 25, 2021 8:19 pm
-
- 12
- 4368
-
by sergeyken
View the latest post
Wed Jan 29, 2025 8:49 pm
-
-
Array processing and Table handling with packed decimal
by rogerstrycova » Tue Oct 26, 2021 3:55 pm » in IBM Cobol - 2
- 1720
-
by Robert Sample
View the latest post
Wed Oct 27, 2021 1:12 am
-
-
-
strategy: partitioned table, delete millions of rows
by BobHarris » Wed Aug 17, 2022 2:47 pm » in DB2 - 1
- 1953
-
by engh
View the latest post
Tue Sep 20, 2022 1:56 pm
-