14. Display the item_cost and then round it to the nearest
hundred, ten, unit, tenth and hundredth



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

Post New Answer

More Oracle General Interview Questions

Can you create a synonym without having a table?

1 Answers  


Explain the truncate in oracle?

1 Answers  


What is a Private Synonyms ?

1 Answers  


Is primary key indexed by default in oracle?

1 Answers  


How to join two tables in a single query using oracle?

1 Answers  


What is a nested table and how is it different from a normal table?

1 Answers  


what is the syntax of ALTER command?

8 Answers  


What privilege is needed for a user to insert rows to tables in another schema?

1 Answers  


How do I recompile a procedure in oracle?

1 Answers  


Explain index?

1 Answers  


What is the usage of analyze command in oracle?

1 Answers  


What is the function of Optimizer ?

1 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)