14. Display the item_cost and then round it to the nearest
hundred, ten, unit, tenth and hundredth
Answer Posted / anuradha
Select Item_Name,
Item_Cost,
Round(Item_Cost, -2) Hundred_Round,
Round(Item_Cost, -1) Ten_Round,
Round(Item_Cost, 0) Unit_Round,
Round(Item_Cost, 1) Tenth_Round,
Round(Item_Cost, 2) Hundredth_Round
From Items;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to return top 5 rows in oracle?
What are the predefined tablespaces in a database?
What is a sub query? What are its various types?
How to commit the current transaction in oracle?
How do I spool in oracle?
How to work with data objects interactively?
What privilege is needed for a user to create views in oracle?
How to assign values to data fields in record variables?
How do I start tns listener?
WHAT IS ecc 6.0
What are the limitations oracle database 10g xe?
How to select an oracle system id (sid)?
Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?
Does oracle partitioning improve performance?
How do we display rows from the table without duplicates?