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

What are the data types in oracle?

0 Answers  


How would you extract DDL of a table without using a GUI tool?

1 Answers  


Can u make a synonym for deptno=10 only from emp table.

1 Answers   TCS,


What privilege is needed for a user to create views in oracle?

0 Answers  


How a tablespace is related to data files?

0 Answers  






Explain joins in oracle?

0 Answers  


What are the execution control statements in oracle?

0 Answers  


What are nested tables?

0 Answers  


what is insert all statement in sql

2 Answers   CGI, TCS,


which is best insttute for teradata,sybase,mysql,oracle in hyderabad

1 Answers  


3. Adapt your query in (2) above so that only post codes with more than twenty orders are displayed.

0 Answers   Wipro,


Give the different types of rollback segments.

0 Answers  


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)