I have a table(product),It contain fields(productname,cost).
I want to retrieve the product name ,which cost is second
maximum in the table?
Answer Posted / pratap
A)Select product, Max (cost) from product where cost <
(select max (cost) from product);
Is This Answer Correct ? | 7 Yes | 13 No |
Post New Answer View All Answers
How to check last update on table in db2?
What is ibm db2 connect?
DB2 can implement a join in three ways using a merge join, a nested join or a hybrid join. Explain the differences?
Define predicate?
How to check sequence on a table in db2?
What is the physical storage length of the data types date, time, and timestamp?
Mention the definition of cobol in varchar field.
Is ibm db2 free?
What is dpf in db2?
Explain the function of data manager.
List out the three types of page locks that can be held.
What is cobol db2?
Give a brief description of db2 isolation levels?
How to get the ddl of a table in db2?
What is the role of the data page in the db2 database?