quary for
1> fetch last record
2> fetch in reverse order
3> fetch last 5 row
4> fetch second last record (their is no primary key)
i think concept of count can be use for this in 4th
Answer Posted / pavan
the above one is for fetching last record and i think u can
decraese (use < symbol) the count and use it for fetching
nth record in a table.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to fetch the last row from the table in SQL (db2)?
How many databases can be created inside an instance in db2 ?
define clustering index.
How do I copy a table in db2?
Can you use max on a char column?
Is db2 free?
What is temporal table in db2?
What is a db2 cursor?
What db2 400?
What is a bind in db2?
What's The Percentage Free Space ?
What is rct?
What are db2 objects?
Explain about cursor stability?
File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?