Answer Posted / bhaskar reddy
select * from table1 a where(n-1)= (select count(distinct
sal) from table1 b where b.sal>a.sal)
| Is This Answer Correct ? | 6 Yes | 5 No |
Post New Answer View All Answers
Mention the length of physical storage of the given data types of db2 – date, timestamp, time
Is schema the same as database?
What is cascading rollback?
What is the difference between plan and package in db2?
For a db2 column that is being defined as decimal (11, 2), discuss the cobol picture clause.
How can the duplicate values be eliminated from db2 select?
What is the syntax for creating a table in the db2 database?
What does db2 plan contain?
What is page size in db2?
What is host variable in db2 cobol?
How to rename a table in DB2 ?
What is a db2 schema?
Which command is used to remove all rows from a table?
What is the maximum size of a char data type in db2?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?