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 / vineeth varghese
(Select product from product where cost = (Select Max (cost) from product where cost not = (select max (cost) from product)))
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What os does db2 run on?
What is cursor stability in db2?
What are the prerogatives?
How does coalesce work?
What are bind parameters in db2?
What's The Percentage Free Space ?
Are views updateable?
What is the information associated with sysibm.syslinks table?
What is dclgen (declaration generator)?
What is the physical storage length of the data types date, time, and timestamp?
Why cursor is used in db2?
what is the responsibility of the construction superintendent
What is universal database?
Which isolation level provides highest data integrity?
What is copy pending status in db2?