14. Display the item_cost and then round it to the nearest
hundred, ten, unit, tenth and hundredth
Answer / 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 |
What is a public synonym?
I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.
How to login to the server without an instance?
which sql command we can use to get a print out from oracle?
What is tns entry?
I have one table :EID,Depid,ename,sal I want to have max(sal) in each department.
5 Answers Microsoft, Oracle, TCS,
How to pass a cursor variable to a procedure?
I have a database backup file in .db (ext) form how to conver it into .dmp (ext.) for oracle database
How to delete an existing row from a table in oracle?
difference between procedures and function?
How to use existing values in update statements using oracle?
How to omit columns with default values in insert statement in oracle?