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

Is it possible to enter only time value into a column of a table in sql?

2 Answers  


which language is used to develop the oracle........?

4 Answers   Infosys,


how to genarate random numbers in oracle for particular row?

3 Answers  


What is Database Trigger ?

1 Answers  


How to turn on or off recycle bin for the session?

0 Answers  






What is an UTL_FILE.What are different procedures and functions associated with it?

1 Answers  


Explain the use of indexes option in imp command.

0 Answers  


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

0 Answers  


What is the function of Optimizer ?

1 Answers  


How to write a query with a full outer join in oracle?

1 Answers  


How to apply filtering criteria at group level in oracle?

0 Answers  


what is the syntax of update command?

3 Answers   Semantic Space,


Categories
  • Oracle General Interview Questions Oracle General (1789)
  • 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)