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
What is explain plan in db2?
What are concurrency issues?
What is the default page size of buffer pools?
What is host variable in db2 cobol?
Define data page.
Define check constraint.
Explain how can you do the explain of a dynamic sql statement?
How do you find the maximum value in a column in db2?
What is db2 instance?
What does db2 mean?
Name the various locking levels available?
What is dbrm? When it will be created?
Describe major components of db2?
What is isolation level in db2?
Explain package in db2 and its advantages?